
12/03/2008, 09:28
|
 | | | Fecha de Ingreso: enero-2008 Ubicación: En la ciudad de los Reyes LIMA !
Mensajes: 121
Antigüedad: 17 años, 1 mes Puntos: 2 | |
Re: Google maps si me llego a funcionar despues hacer ciertos malavares aca les mando el codigo
<?php
<script type="text/javascript">
//<![CDATA[
function load()
{
if (GBrowserIsCompatible())
{
var map = new GMap2(document.getElementById("map"));
map.disableDragging();
map.setCenter(new GLatLng(<?php echo($lat); ?>, <?php echo($lon); ?>),2);
var point = new GLatLng(<?php echo($lat); ?>, <?php echo($lon); ?>);
map.addOverlay(new GMarker(point));
}
}
//]]>
</script>
<div id="map" style="width: 500px; height: 300px"></div>
?> |