From 0b4a2a9a9a2e8c4cab7f08953a01687a7fbbe810 Mon Sep 17 00:00:00 2001 From: yopaseopor Date: Sat, 12 Dec 2020 00:33:45 +0100 Subject: [PATCH] Update config.js --- src/config.js | 15 +++++++++++++++ 1 file changed, 15 insertions(+) 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',