Skip to content

Commit

Permalink
Update config.js
Browse files Browse the repository at this point in the history
  • Loading branch information
yopaseopor authored Dec 11, 2020
1 parent fe62bf7 commit 0b4a2a9
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions src/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -1036,6 +1036,21 @@ var config = {
group: 'Test',
title: 'node[name=]',
query: 'node[name=]({{bbox}});out meta;'
},
{
group: 'Test',
title: 'Stops signs at geojson',
geojson: 'https://raw.githubusercontent.com/yopaseopor/osmhistoricmap/master/src/img/base/test.geojson',
iconSrc: 'https://raw.githubusercontent.com/yopaseopor/beta_preset_josm/master/ES/traffic_signs/ES/ES_R2.png',
style: function () {
var style = new ol.style.Style({
image: new ol.style.Icon({
scale: 0.4,
src: 'https://raw.githubusercontent.com/yopaseopor/beta_preset_josm/master/ES/traffic_signs/ES/ES_R2.png'
})
});
return style;
}
},
{
group: 'Test',
Expand Down

0 comments on commit 0b4a2a9

Please sign in to comment.