Géolocalisation google map
Code généré pour localiser un point précis avec google map.
Lien source:Map_enbeded
Code source généré:
<script type= »text/javascript » src= »http://maps.google.com/maps/api/js?sensor=false »></script><div style= »overflow:hidden;height:500px;width:600px; »><div id= »gmap_canvas » style= »height:500px;width:600px; »><style>#gmap_canvas img{max-width:none!important;background:none!important}</style><a class= »google-map-code » href= »http://wordpress-themes.org » id= »get-map-data »>wordpress themes</a></div></div><script type= »text/javascript »> function init_map(){var myOptions = {zoom:14,center:new google.maps.LatLng(45.5029646,-73.50429589999999),mapTypeId: google.maps.MapTypeId.ROADMAP};map = new google.maps.Map(document.getElementById(« gmap_canvas »), myOptions);marker = new google.maps.Marker({map: map,position: new google.maps.LatLng(45.5029646, -73.50429589999999)});infowindow = new google.maps.InfoWindow({content: »<b>Saint-Lambert</b><br/>700 Oak<br/> Saint-Lambert » });google.maps.event.addListener(marker, « click », function(){infowindow.open(map,marker);});infowindow.open(map,marker);}google.maps.event.addDomListener(window, ‘load’, init_map);</script>