0
I have a collection of dots where I see all of them on the map! would like to add an infowindow "balloon" to each of them informing the full address of each coordinate.
function initialize() {
var latlng = new google.maps.LatLng(latitudes, longitudes);
var options = {
zoom: 12,
center: latlng,
mapTypeId: google.maps.MapTypeId.ROADMAP
};
map = new google.maps.Map(document.getElementById("mapa"), options);
geocoder = new google.maps.Geocoder();
var pontos = [];
if (coord.length > 1) {
var adress = [];
for (var i = 0; i < coord.length; i++) {
var location = coord[i].split(",");
var marker = new google.maps.Marker({
position: new google.maps.LatLng(location[0], location[1]),
map: map,
})
}
}
}
initialize();
http://gmap3.net/en/catalog/10-overlays/infowindow-35
– periotto