diff --git a/css/style.css b/css/style.css index 3dc1114..1da34e4 100644 --- a/css/style.css +++ b/css/style.css @@ -54,6 +54,15 @@ table.dataTable { vertical-align: top; } +.overpass-layer-icon i { + position: absolute; + top: -34px; + color: white; + margin: auto; + display: inline-block; + font-size: 11px; +} + /* wrap toolbar controls */ .leaflet-top.leaflet-left { bottom: 0; diff --git a/js/LayersConfig.js b/js/LayersConfig.js index c335fdf..d7b55d8 100644 --- a/js/LayersConfig.js +++ b/js/LayersConfig.js @@ -193,9 +193,14 @@ BR.LayersConfig = L.Class.extend({ title: '{{ tags.name }}', 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, + markerSymbol: + '', + markerSign: '', style: function (overpassObject) { - return this.defaultBaseLayers?.[0] === 'cyclosm' ? { color: 'darkorange' } : {}; + return { + nodeFeature: 'Marker', + color: this.defaultBaseLayers?.[0] === 'cyclosm' ? 'darkorange' : '#3388ff', + }; }.bind(this), }, }),