Google Maps v3 - Adding makers results in duplicate markers
        Posted  
        
            by Richard
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Richard
        
        
        
        Published on 2010-06-13T20:45:47Z
        Indexed on 
            2010/06/13
            20:52 UTC
        
        
        Read the original article
        Hit count: 470
        
google-maps
|google-maps-api-3
Hi guys,
I'm having some problems with Google Maps v3. I have an event listener on "bounds_change" that adds all accommodations(markers) within the active bounds. When i move the map slightly, the same markers are added again because they are located in the bounds. So every time I move the map, duplicate markers are added.
How can I make sure these markers stay unique?
Thanks!!
Richard
© Stack Overflow or respective owner