Skip to content

Fixed for Chrome/Safari #11

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open

Conversation

theLundquist
Copy link

I had the same problem as this chap here #8 and I changed the following to get it to work.

  • Moved the cluster-marker-container div to the markerPane (this means that the div is in the correct position)
  • Given the cluster-marker-container div a width/height so that you can click it in Safari/Chrome.

Hope this helps :)

…s that the div is in the correct position)

- Given the cluster-marker-container div a width/height so that you can click it in Safari/Chrome.
…last update, because they were required to get it working on everything.
…it :P

WP7 devices do NOT pay attention to even the 2D transformation CSS properties.  The solution is a simple substitution from the code that Leaflet use for their marker positioning.
I've used the HTML5 getElementsByClassName function, this works in most major browsers (safari, Firefox, Chrome) and IE9+.
If somebody wants to do a fix for IE 8 and below, feel free :)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants