dynmeth / RaphaelLayer

Raphael overlay for Leaflet maps
MIT License
80 stars 25 forks source link

Update Layer.Raphael.js #14

Open pvinton opened 10 years ago

pvinton commented 10 years ago

Added a new div under overlayPane for raphaelRoot. This allows raphael objects to "play nicely" with other non-Raphael SVG and VML objects that are also plotted on the map at the same time.

Without this extra div, non-Raphael objects have some erratic behavior: they sometimes disappear and/or are offset incorrectly, especially after panning and zooming.

marutib commented 10 years ago

Btw, thanks for the fix. I spent a lot of time on this :) thank you