Hi everyone.
Thanks for reading. I really appreciate it.
I am trying to migrate a working v2 page to v3.
To migrate it, I just edited in the new key, but now it gives a blank map.

http://www.wikispeedia.org/browse/maps_v3.html<http://www.wikispeedia.org/browse/maps.html>
-----------v3code--------
<title>Open Speed Limit Database</title>

<META Name="Description" Content="GPS device helps teens and cellphone 
users from accidental speeding tickets. Open source. DIY. Land rush">

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 STRICT//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
<html xmlns="http://www.w3.org/1999/xhtml"; 
xmlns:v="urn:schemas-microsoft-com:vml">
<head>
<meta http-equiv="CACHE-CONTROL" content="NO-CACHE">
<meta http-equiv="PRAGMA" content="NO-CACHE">
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<script 
src="https://maps.googleapis.com/maps/api/js?key=AIzaSyAvecJAA7n5Mmy21IY4fcG49EhAOsCVtaQ&sensor=false";
  
type="text/javascript"></script
>
<script src="maps.js" type="text/javascript"></script>
</head>
<body onunload="GUnload();" style="background-color:#fff">

<h1>
Open Speed-limit Database  (viewer) [latest]
</h1>

<p>
<a href="http://www.wikispeedia.org/";>
More information on contributing signs.</a>
</p>

<table border=1 >
<tr>
<td>
<input type="button" value="Latest 10 speed limit signs" 
onclick='getMarks("marks.php?name=latest")';>

<input type="button" value="100" onclick='getMarks("marks.php?name=all");'>

</td><td> <div id="map" style="width:800px;height:700px;"></div></td></tr>

</table>
<br />
<br />
<br />
<br />
<br />
<br />
<noscript> <p> Enable JavaScript please </p> </noscript>

<script type="text/javascript">
//<![CDATA[
if (GBrowserIsCompatible()) {
        var map = new GMap2(document.getElementById("map"));
        map.addControl(new GSmallMapControl());
        map.addControl(new GMapTypeControl());
        var centerpointt = new GLatLng('35.17','-90.027');
        var zoomlevel=3;

        latt= readCookie('lat');
        lngg= readCookie('lng');

        var centerpoint = new GLatLng(latt,lngg);

        map.setCenter(centerpointt, zoomlevel);
        GEvent.addListener(map, 'click' , function( overlay,point) {
        if (point) { alert(point  ); }
        });


        getMarks("marks.php?name=latest");  //call function that retrieves 
the marks

    }
    else {
      alert("Sorry, the Google Maps API is not compatible with this 
browser");
    }

    //]]>

</script>

</body>
</html>

---------end----------





-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API V2" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-maps-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to