1

I am having a problem with leaflet markers. The problem is that when I drag a marker with a lower z-index under another marker with a higher z-index and let it go, it makes another marker. I have a click event that adds a marker to the map when I click it.

This happens in Chrome and Internet Explorer 11. This does not happend in Firefox.

Another problem I noticed was that when I would drag a marker outside the browser window and relase in Firefox, it would mess up things up.

JSFiddle http://jsfiddle.net/eaflores/x9JzP/

5
  • 1
    Im using Google Chrome, seems like it does not do this in Mozilla Firefox.
    – Enrique
    Commented May 1, 2014 at 20:51
  • doesn't seem to do this in Firefox here either... Commented May 1, 2014 at 21:11
  • and i also see it in chrome
    – sfletche
    Commented May 1, 2014 at 21:40
  • Enrique: you can (and should!) update your question with additional details you have at any time. Just click edit below the question. That will also help to bring it "back to the top" for more attention.
    – BradHards
    Commented May 1, 2014 at 22:44
  • 2
    I'm not seeing the problem with the current jsFiddle and Chrome. Did you fix it?
    – Josh
    Commented Aug 5, 2014 at 3:28

0

Browse other questions tagged or ask your own question.