diff --git a/js/LayersConfig.js b/js/LayersConfig.js index 7a79cce..f2e462c 100644 --- a/js/LayersConfig.js +++ b/js/LayersConfig.js @@ -194,6 +194,9 @@ BR.LayersConfig = L.Class.extend({ body: '{% for k, v in tags %}{% if k[:5] != "addr:" %}{% endif %}{% endfor %}
{{ k }}{% if k matches "/email/" %}{{ v }}{% elseif v matches "/^http/" %}{{ v }}{% elseif v matches "/^www/" %}{{ v }}{% else %}{{ v }}{% endif %}
', markerSymbol: null, + style: function (overpassObject) { + return this.defaultBaseLayers?.[0] === 'cyclosm' ? { color: 'darkorange' } : {}; + }.bind(this), }, }), {