dylanfprice / angular-gm

AngularJS Google Maps Directives
MIT License
197 stars 47 forks source link

Remove markers using hash instead of LatLng pair; support for multiple gm-markers inside gm-map #2

Closed 646b closed 11 years ago

646b commented 11 years ago

It is possible to change latitude and longitude properties of already added markers (e.g. after dragging). These markers won't get cleaned after next updateMarkers iteration, cause new computed hash will be different from old one. Now cleanup of orphaned objects is performed using old hash values.

dylanfprice commented 11 years ago

Hey dkalachov, thanks for the good ideas and the PR!

646b commented 11 years ago

You are welcome! Thanks for great work.