<!doctype html public "-//w3c//dtd xhtml 1.0 transitional//en" "http://www.w3.org/tr/xhtml1/dtd/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title></title>
<!--{下面个google map api key是非常重要的,你可以到google官网申请一个。}-->
<script src="http://ditu.google.cn/maps教程?file=api&v=2&key=abqiaaaac8kc8qqriigpsk23kp5gkbsh2hu1_yr14uohynbnrsdsru1coxqaa7zqsv6wfxh6g3z1aadux7pesa&sensor=true" type="text/网页特效"> </script>
</head>
<script type="text/javascript">
function init() {
if (gbrowseriscompatible()) {
var map = new gmap2(document.getelementbyid("maps"));
map.setcenter(new glatlng(39.9493, 116.3975), 13); //这里你要标的google经纬度了,把这标好了,你的地图会就正确的位置了。
}
}
</script>
</head>
<body onload="init()" onunload="gunload()">
<div id="maps" style="width: 800px; height: 400px"></div>
</body>
</html>