Someone please help, I am a student and I cannot get this code to work: <!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http:// www.wapforum.org/DTD/xhtml-mobile10.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Map</title> <script src="http://maps.google.com/maps? file=api&v=2&key=ABQIAAAAriu9HBWObzaFl6D3I73ABRSD7QeaJNdpWETQXDQR- Hf4oKSgCBQ2nOEo7I1sunBpVD1Tt0FfN7mZxA&sensor=false" type="text/ javascript"> </script> <script type="text/javascript"> function initialize() { if (GBrowserIsCompatible()) { var map = new GMap2(document.getElementById("map_canvas")); map.setCenter(new GLatLng(50.670952,-120.364645), 16); var tilelayer = new GTileLayer(GCopyrightCollection('© Thompson Rivers University')); var boundaries = new GLatLngBounds(new GLatLng (51.903262,-121.912244), new GLatLng(49.000093,-119.022624)); map.setMapType(G_SATELLITE_MAP); map.setUIToDefault(); //ground overlay var campusMap = new GGroundOverlay("http://mobile.tru.ca/maps/ Campus_Map.png", boundaries) map.addOverlay(campusMap); } } </script> </head> <body onload="initialize()" onunload="GUnload()"> <img src="../headerFooter/header_logo.gif" style="margin:auto; width: 269; display:block; padding-bottom:10px; padding-top:5px;"/> <center> <div id="map_canvas" style="width:300px; height: 250px"></div> </center> <img src="../headerFooter/footer.gif" style="margin:auto; width:269; display:block; padding-bottom:10px; padding-top:5px;"> </body> </html> please note that you (the reader) will not be able to access mobile.tru.ca because it is behind a firewall. I dropped a similar copy on http://www.tru.ca/compserv/myi/maps/maps.html which is not behind the firewall and it is not working either -- 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.
