var map; function googlemap_init(centerLatitude,centerLongitude,niveauZoom,iconImage,html) { if (GBrowserIsCompatible()) { map = new GMap2(document.getElementById("plan")); var location = new GLatLng(centerLatitude, centerLongitude); map.addControl(new GLargeMapControl()); map.addControl(new GMapTypeControl({useShortNames:true}),new GControlPosition(G_ANCHOR_TOP_RIGHT, new GSize(60,20))); map.setCenter(location, niveauZoom); // Barre googlemap aaaa map.enableGoogleBar(); // affichage du ou des marqueurs (à faire après le setCenter) addMarker(centerLatitude, centerLongitude, html,iconImage); // clic sur la carte