| asmtih@geog.ucl.ac.uk | My Account | Sign out |
![]() | Google Maps API Key |
Write handy plug-ins for Google Desktop Search. Manage your accounts, build new tools, pull reports, and more. | Thank you for signing up for a Google Maps API key. Your key is: ABQIAAAAmKHEcl8zemchrNctPQvX3BRZlTKhtYmWb11bQM166AqxtP76_BSafzKt9NG-u8aqqbEE29EOn-XzBg This key is good for all URLs in this directory: http://www.casa.ucl.ac.uk/andy/ Here is an example web page to get you started on your way to mapping glory: <!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">
<head>
<script src="http://maps.google.com/maps?file=api&v=1&key=ABQIAAAAmKHEcl8zemchrNctPQvX3BRZlTKhtYmWb11bQM166AqxtP76_BSafzKt9NG-u8aqqbEE29EOn-XzBg" type="text/javascript"></script>
</head>
<body>
<div id="map" style="width: 500px; height: 400px"></div>
<script type="text/javascript">
//<![CDATA[
var map = new GMap(document.getElementById("map"));
map.addControl(new GSmallMapControl());
map.centerAndZoom(new GPoint(-122.1419, 37.4419), 4);
//]]>
</script>
</body>
</html>Check out the API documentation for more information.
|