Étiquette : Fenetre
Une tour pas si infernale que ça
Map below / Carte ci-dessous<GPS Lat : 48.8418 GPS Lon : 2.3209444444444
function apaiu_InitializeGoogleMaps() {
var mapProp = {
center: new google.maps.LatLng(48.8418,2.3209444444444),
zoom: 12,
mapTypeId: google.maps.MapTypeId.ROADMAP
};
var map = new google.maps.Map(document.getElementById(« apaiu_googleMapDiv »),mapProp);
var marker = new google.maps.Marker({
position: new google.maps.LatLng(48.8418,2.3209444444444),
});
marker.setMap(map);
}
function apaiu_LoadGoogleMapsScript() {
var alreadyRegistered = false;
if (typeof google === « object »){
if (typeof google.maps === « object »){
alreadyRegistered = true;
}
}
if (alreadyRegistered){
apaiu_InitializeGoogleMaps();
} else {
var script = document.createElement(« script »);
script.src = « https://maps.googleapis.com/maps/api/js?key=AIzaSyCOQyfCc9LYnmSWWXhoqvIsot8avEsDqAU&callback=apaiu_InitializeGoogleMaps »;
document.body.appendChild(script);
}
}
window.onload = apaiu_LoadGoogleMapsScript;