GPS Lat : 48.839755555556 GPS Lon : 2.3613444444444
function apaiu_InitializeGoogleMaps() {
var mapProp = {
center: new google.maps.LatLng(48.839755555556,2.3613444444444),
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.839755555556,2.3613444444444),
});
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 = « http://maps.googleapis.com/maps/api/js?key=AIzaSyCOQyfCc9LYnmSWWXhoqvIsot8avEsDqAU&callback=apaiu_InitializeGoogleMaps »;
document.body.appendChild(script);
}
}
window.onload = apaiu_LoadGoogleMapsScript;