Fixed
Status Update
Comments
be...@gmail.com <be...@gmail.com> #3
I had thought my report was precise enough for you to reproduce it faster than me...
Anyway, here is a link to a demo :http://nimwendil.net/_ext/gmaps/issue4052.html
Anyway, here is a link to a demo :
en...@google.com <en...@google.com>
ps...@gmail.com <ps...@gmail.com> #4
This bug seems related to what I have experienced:
Draggable markers disappear after being dragged if map property is set again
Steps to reproduce:
- create a map and add a draggable marker
- add an event listener to the click event which updates the position of the marker and also sets the map attribute again
- drag the marker
- click anywhere in the map
--> the marker disappears
Demo:http://pastehtml.com/raw/bva0gduez.html
This can easily be resolved by not setting the map attribute again in the click listener.
Draggable markers disappear after being dragged if map property is set again
Steps to reproduce:
- create a map and add a draggable marker
- add an event listener to the click event which updates the position of the marker and also sets the map attribute again
- drag the marker
- click anywhere in the map
--> the marker disappears
Demo:
This can easily be resolved by not setting the map attribute again in the click listener.
ga...@gmail.com <ga...@gmail.com> #6
Google: this bug also breaks the very popular MarkerCluster and MarkerClustererPlus utility libraries. See Issue 4091
cb...@google.com <cb...@google.com>
ga...@gmail.com <ga...@gmail.com> #8
Seems to work, thanks.
cw...@gmail.com <cw...@gmail.com> #9
[Comment deleted]
cw...@gmail.com <cw...@gmail.com> #10
I can confim that it is also now working for this:
marker.setMap(null)
marker.setMap(map)
marker.setAnimation(google.maps.Animation.BOUNCE)
markerSetanimation(null)
market.setMap(null)
marker.setMap(map)
Thanks for the fix!
Description
Steps to reproduce:
- Create a Map '_map' and add a draggable Marker on it
- Drag the marker and drop it to a new position
- setMap(null) on the marker -> it disappears, as it should
- setMap(_map) on the marker -> it should reappear, but it doesn't
I reproduced this bug only on dragged markers.
When using the 'visible' property instead of 'map', it works correctly.