I wish to dynamically generate a google map based on details from an xml feed which then refers to a database to translate city names into map coordinates. I'm OK with that but there may be 10 or even 50 at a specific city and therefore have the same coordinates. I cannot be more specific with the location because I do not know it. My question is does anyone have an idea how I can display the markers without them hiding each other? My thoughts are some kind of popup list, (although I can't think how to code it) or on offset added to the coordinates to change them slightly. Thoughts appreciated. My markers are created using php and added as one string.
$markers = $markers . "['<a href=\"". $url . "\">".$type."</a>'," . $lat . "," . $long . ",". $num."],";
var locations = [ php echo $markers /php];