From fef0e07799bc50abe33b8c0730046befcf25a9b0 Mon Sep 17 00:00:00 2001 From: Stefan Siegl Date: Fri, 19 Mar 2021 12:33:24 +0100 Subject: [PATCH] use svg overpass icon --- css/style.css | 10 ++++++++++ js/LayersConfig.js | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/css/style.css b/css/style.css index 7575ced..c782df7 100644 --- a/css/style.css +++ b/css/style.css @@ -54,6 +54,16 @@ table.dataTable { vertical-align: top; } +.overpass-layer-icon i { + position: absolute; + top: 7px; + left: 7px; + 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 9b4cc48..eed72a3 100644 --- a/js/LayersConfig.js +++ b/js/LayersConfig.js @@ -182,7 +182,7 @@ 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: - '', + '', }, }); },