Der Zugangsplan


hebergement php mysql var infowindow = null; var latlng = new google.maps.LatLng(16.327059, -61.780443); var myOptions = { zoom: 13, center: latlng, mapTypeId: google.maps.MapTypeId.ROADMAP }; var carte = new google.maps.Map(document.getElementById("carte"), myOptions); var sites = [[16.343944,-61.770222,'Gîtes Piment Café',null],[16.303247,-61.795585,'Appartement à Deshaies - Résidence la vigie',null]]; for (var i = 0; i < sites.length; i++) { var site = sites[i]; var siteLatLng = new google.maps.LatLng(site[0], site[1]); if(site[3]!=null) { var markerimage = site[3]; var marker = new google.maps.Marker({ position: siteLatLng, map: carte, icon: markerimage, html: site[2] }); } else { var marker = new google.maps.Marker({ position: siteLatLng, map: carte, html: site[2] }); } var contentString = "Some content";google.maps.event.addListener(marker, "click", function () { infowindow.setContent(this.html); infowindow.open(carte, this); }); } infowindow = new google.maps.InfoWindow({ content: "loading..." }); Siehe Karte in Google Maps