apneadiving / Google-Maps-for-Rails

Enables easy Google map + overlays creation in Ruby apps
https://apneadiving.github.io/
MIT License
2.26k stars 382 forks source link

markers_list do not reflect actual markers set #182

Closed denispeplin closed 12 years ago

denispeplin commented 12 years ago

I have tried to replace only one marker.

After using clearMarker, the marker is still insude markers_list, and after using addMarkers, the marker is duplicated in this list.

The details is here: http://stackoverflow.com/questions/10075596/is-it-possible-to-replace-one-marker-using-gmaps4rails/10079252

apneadiving commented 12 years ago

Should be solved by: https://github.com/apneadiving/Google-Maps-for-Rails/pull/173