<html> <head> <META HTTP-EQUIV="Content-Type" CONTENT="text/ html;charset=ISO-8859-1"> <title>Exemplo de Google Maps API</title> <script src="http://maps.google.com/maps? file=api&v=2&key=ABQIAAAAGJ9ZiFeXKersEU9mid46HhQBhAkNA- JZqdpo2Pz4p9qsNf3y5RR8LCuO5WcVRM85WcDvo8FDKgeqUA" type="text/ javascript"></script> <script type="text/javascript"> function load() { if (GBrowserIsCompatible()) { var map = new GMap2(document.getElementById("map")); //var geocoder; //var endereco = //geocoder = new GClientGeocoder(); //geocoder.getLatLng(endereco); //map.setCenter(new GLatLng (40.41689826118782,-3.7034815549850464), 17); map.setCenter(new GClientGeocoder.getLatLng("76 9th ave new york"), 17); map.addControl(new GLargeMapControl()); map.setMapType(G_NORMAL_MAP); //var point = new GPoint (-3.7034815549850464, 40.41689826118782); //var point = new GPoint (endereco); //var marker = new GMarker(point); //map.addOverlay(marker); } } </script> </head> <body onLoad="load()" onUnload="GUnload()"> <div id="map" style="width: 615px; height: 400px"></div> </body> </html>
Sorry On 1 out, 15:22, Rossko <[email protected]> wrote: > > What's wrong and how to solve it? > > There's no doctype, <html> or <head> --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en -~----------~----~----~----~------~----~------~--~---
