diff --git a/src/config.js b/src/config.js index 989e738..e10638f 100644 --- a/src/config.js +++ b/src/config.js @@ -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',