Leaflet.ExtraMarkers icon indicating copy to clipboard operation
Leaflet.ExtraMarkers copied to clipboard

Relative Image paths

Open jperkelens opened this issue 8 years ago • 2 comments

The urls in the marker classes are relative which breaks any pages that are nested more than one level in (i.e. www.site.com/my/maps/map-id). The library should always assume the images are at the root ('/img/markers-default.png) or make it configurable, I'm happy to submit a PR for the former solution.

jperkelens avatar Jun 01 '16 16:06 jperkelens

I did configure it in the less file. As for the CSS why don't you just add some overrides?

coryasilva avatar Jun 01 '16 16:06 coryasilva

I'm aware you can override the less parameter or css styles but it requires one to be aware of the specific parameter or styles that need to be overriden if anything changes in subsequent versions our overrides will not work anymore.

jperkelens avatar Jun 01 '16 18:06 jperkelens