| [图文]Google Map 代码 |
|
| 作者:未知 文章来源:网络收集 点击数: 更新时间:2006-4-10 1:31:34
|
map.centerAndZoom(new GPoint(-122.1419, 37.4419), 4); //]]> </script> </body> </html>
ABQIAAAAldeplnSa046Mgs42FWv1vxSzB1HpiWZ7bOrz1NckBd6pSmH0tBQ-3-pJ2Wlqv7eA95U9YxBebInG2g" 这个是我网站的key key要去http://www.google.com/apis/maps/signup.html申请! 登陆用GMAIL就可以了
<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> 这个可以该坐标~ 我的看你做参考
CODE:[Copy to clipboard] <script type="text/javascript"> //<![CDATA[ function onLoad() { // Center the map on Beijing var map = new GMap(document.getElementById("map")); map.addControl(new GSmallMapControl()); map.addControl(new GMapTypeControl()); map.centerAndZoom(new GPoint(116.416, 39.916), 13);
var BeijingStation = new GMarker (new GPoint (116.416,39.916)); GEvent.addListener (BeijingStation, "click", function() { Beij上一页 [1] [2] [3] [4] [5] 下一页
|
|
[ 收藏此页到: 天天|和讯|博采|ViVi|狐摘|我摘|天极 ] 文章录入:kinda 责任编辑:kinda |
|
上一篇文章: [图文]网站项目标准文档格式模版 下一篇文章: [组图]蓝色理想站长访谈:人才资金技术是永恒主题 |
| 【字体:小 大】【发表评论】【加入收藏】【告诉好友】【打印此文】【关闭窗口】 |