Tom
Tom

Reputation: 6707

why google map does not show duplicate markers?

why google map does not show duplicate markers?

My data has duplicate addresses - how to make them all appear e.g. 1-3 markers per city?

var map =
        new google.visualization.Map(document.getElementById('map_div'));

     var options = {};
        options['dataMode'] = 'markers';
        options['showTip'] = 'true';


    map.draw(geoView, options);

Upvotes: 0

Views: 445

Answers (1)

Galen
Galen

Reputation: 30170

The markers overlap so you can only see one. You can tell by a darker shadow. If you want to be able to click all three markers you'll have to do some testing when adding the markers. You can either stagger them a little bit or make one infowindow that incorporates all the markers at that lat/lng

Upvotes: 1

Related Questions