Références
var map; function initMap() { map = new google.maps.Map(document.getElementById("map_references"), { center: new google.maps.LatLng(45.828724, 1.257989), zoom: 3, mapTypeId: google.maps.MapTypeId.ROADMAP, mapTypeControl: true, scrollwheel: false, mapTypeControlOptions: { style: google.maps.MapTypeControlStyle.HORIZONTAL_BAR }, navigationControl: true, navigationControlOptions: { style: google.maps.NavigationControlStyle.ZOOM_PAN } }); for(reference in references){ var marker = new google.maps.Marker({ position: {lat: references[reference].lat, lng: references[reference].lon}, title: reference, map: map }); } }