分享

我的 Google Maps API

 破石头 2007-07-01

Thank you for signing up for a Google Maps API key!

Your key is:

ABQIAAAAtMbV2Aodi_lohY5J65Am8hRGRsVK_L7GHp-YCXEPflYVIiZDXxRMwZ3hIf9bmOGu7Jf8g8ur4N_cfw

This key is good for all URLs in this directory:

http:///

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./TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www./1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
<title>Google Maps JavaScript API Example</title>
<script src="http://maps.google.com/maps?file=api&v=2&key=ABQIAAAAtMbV2Aodi_lohY5J65Am8hRGRsVK_L7GHp-YCXEPflYVIiZDXxRMwZ3hIf9bmOGu7Jf8g8ur4N_cfw"
type="text/javascript"></script>
<script type="text/javascript">

//<![CDATA[
function load() { if (GBrowserIsCompatible()) { var map = new GMap2(document.getElementById("map")); map.setCenter(new GLatLng(37.4419, -122.1419), 13); } }
//]]> </script> </head> <body onload="load()" onunload="GUnload()"> <div id="map" style="width: 500px; height: 300px"></div> </body> </html>

Check out the API documentation for more information.

    本站是提供个人知识管理的网络存储空间,所有内容均由用户发布,不代表本站观点。请注意甄别内容中的联系方式、诱导购买等信息,谨防诈骗。如发现有害或侵权内容,请点击一键举报。
    转藏 分享 献花(0

    0条评论

    发表

    请遵守用户 评论公约