Skip to content
This repository was archived by the owner on Sep 20, 2019. It is now read-only.

fix(markers): fix default icon for retina screens #309

Closed

Conversation

ValentinH
Copy link
Contributor

Actually it is a bit related to #299.

We provide base64 version for the icon and shadow but not for the retinaIcon. Thus, Leaflet fallbacks to the default one but since we set the imagePath option, the image can't be found (actually, on my production application, the images are not even on the server since we use the base64 ones in ui-leaflet).

Therefore, this PR simply adds a base64 icon version for the iconRetinaUrl option.

@ValentinH ValentinH closed this Apr 5, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant