找回密码
 注册
搜索
免费空间 免费域名 免费AI 老牌主机商首月仅1美分!27美元/年!Spaceship优惠码 Namecheap优惠码阿里云2核2G3M新老续费同享99元/年!
查看: 278|回复: 7

[程序代码] 怎么样在blog中镶嵌google map

[复制链接]
发表于 2009-7-23 13:51:03 | 显示全部楼层 |阅读模式
rt
演示:http://www.williamlong.info/google/archives/629.html
图示:

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

×

评分

参与人数 1银币 +10 收起 理由
3415005 + 10 学习了!

查看全部评分

 楼主| 发表于 2009-7-23 14:20:11 | 显示全部楼层
Thank You for Signing Up for a Google Maps API Key!Your key is:
ABQIAAAAGNPbhraA20gA-kn5hJhrpxRtgTWZtiwnam4puZdduWI8uV6t3RR277EXq3LhbcniIYKoF3Mne6FV5AThis key is good for all URLs consisting of this registered domain (and directory if applicable):
http://liming.ne.ru/Note: for more information on the API key system, consult http://code.google.com/apis/maps/faq.html#keysystem.
How you use your key depends on what Maps API product or service you use. Your key is valid for use within the entire family of Google Maps API solutions. The following examples show how to use your key within the Maps API product family.
JavaScript Maps API ExampleWithin the JavaScript Maps API, place the key within the script tag when you load the API:
...  // Note: you will need to replace the sensor parameter below with either an explicit true or false value.   <script src="http://maps.google.com/maps?file=api&amp;v=2&amp;sensor=true_or_false&amp;key=ABQIAAAAGNPbhraA20gA-kn5hJhrpxRtgTWZtiwnam4puZdduWI8uV6t3RR277EXq3LhbcniIYKoF3Mne6FV5A" type="text/javascript"></script>...See Loading the Maps API in the JavaScript Maps API documentation for more information.
Maps API for Flash ExampleWithin the Maps API for Flash, you may place the key within an MXML declaration, declare it directly within code as a Map.key property, or as a flashVars property within the HTML container. A sample MXML declaration is shown below.
...  <maps:Map xmlns:maps="com.google.maps.*" id="map" mapevent_mapready="onMapReady(event)" width="100%" height="100%"    key="ABQIAAAAGNPbhraA20gA-kn5hJhrpxRtgTWZtiwnam4puZdduWI8uV6t3RR277EXq3LhbcniIYKoF3Mne6FV5A"/>...See Declaring Maps in the Maps API for Flash documentation for more information.
HTTP Service ExampleWithin a Maps API HTTP Service, such as the Static Maps API or Geocoding Service, place the key directly in the request URL:
http://maps.google.com/maps/geo?q=1600+Amphitheatre+Parkway,+Mountain+View,+CA&output=json&oe=utf8\&sensor=true_or_false&key=ABQIAAAAGNPbhraA20gA-kn5hJhrpxRtgTWZtiwnam4puZdduWI8uV6t3RR277EXq3LhbcniIYKoF3Mne6FV5ANote that for all examples, you must replace the sensor parameter with a valid value, based on whether your application uses a sensor to determine a user's location. Check out the API documentation for more information.
发表于 2009-7-23 14:23:26 | 显示全部楼层
:weisuo:
发表于 2009-7-23 14:25:50 | 显示全部楼层
API接口
发表于 2009-7-23 14:29:32 | 显示全部楼层
这个很不错,我也想知道怎么嵌入,很不错的功能:lol
发表于 2009-7-23 15:57:27 | 显示全部楼层
呵呵,学习下!
发表于 2009-7-23 19:43:28 | 显示全部楼层
月光博客  呼呼
发表于 2009-7-23 23:28:52 | 显示全部楼层
很好
您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|小黑屋|免费吧论坛

GMT+8, 2024-4-28 07:11 , Processed in 0.037762 second(s), 7 queries , Redis On.

Powered by Discuz! X3.5

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表