Show temaki icons in overpass markers

This commit is contained in:
Stefan Siegl 2021-04-03 21:38:02 +02:00
parent d60ab7937c
commit d2bc580b14
No known key found for this signature in database
GPG key ID: 73942AF5642F3DDA
3 changed files with 32 additions and 0 deletions

View file

@ -188,6 +188,8 @@ BR.LayersConfig = L.Class.extend({
if (icon && icon.startsWith('maki-')) {
markerSign = `<img class="icon-invert" src="dist/images/${icon.substr(5)}-11.svg" />`;
} else if (icon && icon.startsWith('temaki-')) {
markerSign = `<img class="icon-invert" src="dist/images/${icon.substr(7)}.svg" width="11" />`;
}
return Object.assign(