parent
ccd9fc51cc
commit
127f8e9e5b
1 changed files with 3 additions and 0 deletions
|
|
@ -194,6 +194,9 @@ BR.LayersConfig = L.Class.extend({
|
|||
body:
|
||||
'<table class="overpass-tags">{% for k, v in tags %}{% if k[:5] != "addr:" %}<tr><th>{{ k }}</th><td>{% if k matches "/email/" %}<a href="mailto:{{ v }}">{{ v }}</a>{% elseif v matches "/^http/" %}<a href="{{ v }}">{{ v }}</a>{% elseif v matches "/^www/" %}<a href="http://{{ v }}">{{ v }}</a>{% else %}{{ v }}{% endif %}</td></tr>{% endif %}{% endfor %}</table>',
|
||||
markerSymbol: null,
|
||||
style: function (overpassObject) {
|
||||
return this.defaultBaseLayers?.[0] === 'cyclosm' ? { color: 'darkorange' } : {};
|
||||
}.bind(this),
|
||||
},
|
||||
}),
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue