You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be helpful to easily allow custom marker icons. (ie. change the svg to one I specify)
I hacked it for now by by adding the following to line 138 of ether/simplemap/src/services/EmbedService.php
'icon' => '/myPath/myMarker.svg',
The text was updated successfully, but these errors were encountered:
At the moment, the cleanest way I found to do this is by looking through the code, I noticed that the ID of the map is also used as a global variable. Since I use OpenStreetMap and there's a method to update the icon programmatically through leaflet js, I do this:
It would be helpful to easily allow custom marker icons. (ie. change the svg to one I specify)
I hacked it for now by by adding the following to line 138 of ether/simplemap/src/services/EmbedService.php
'icon' => '/myPath/myMarker.svg',
The text was updated successfully, but these errors were encountered: