Open alexpearce opened 1 year ago
Yes, I agree with this possible change.
I would also be keen to see this feature. I've created a nice little function to use FontAwesome icons as L.DivIcon
markers on the map and it would be great to be able to use this approach for GPX waypoints as well. Even being able to use SVG icons rather than bitmaps would be handy.
In the meantime if anyone knows any workarounds or forks I'd be interested.
Rather than having to rely on the icon images in this package being present somewhere, one can use Leaflet's default icon object instead.
I wondered if it might make sense to change leaflet-gpx's default icons to leaflet's default icon? This prevents users of the package having to put leaflet-gpx's icons somewhere accessible.