angular-ui / ui-leaflet

AngularJS directive to embed an interact with maps managed by Leaflet library
http://angular-ui.github.io/ui-leaflet
Other
315 stars 137 forks source link

fix(markers): fix dom markers memory leaks #273

Closed ValentinH closed 8 years ago

ValentinH commented 8 years ago

I've added the dom markers feature a few months ago, and by playing with it again, I found out that there were memory leaks due to this feature. This PR solves them.

Demo of the feature: http://codepen.io/ValentinH/full/XKkEEd/

nmccready commented 8 years ago

LGTM