预览加载中,请您耐心等待几秒...
1/10
2/10
3/10
4/10
5/10
6/10
7/10
8/10
9/10
10/10

亲,该文档总共16页,到这已经超出免费预览范围,如果喜欢就直接下载吧~

如果您无法下载资料,请参考说明:

1、部分资料下载需要金币,请确保您的账户上有足够的金币

2、已购买过的文档,再次下载不重复扣费

3、资料包下载后请先用软件解压,在使用对应软件打开

静态地图API开发人员指南 欢迎阅读Google静态地图API的开发人员文档!通过Google静态地图API,您不需要使用JavaScript或加载任何动态页面,便可将Google地图图像嵌入到自己的网页中。Google静态地图服务会根据通过标准HTTP请求发送的网址参数来创建您的地图,并将地图以您可以在网页上显示的图像形式返回。 Google静态地图API需要地图API密钥。如果尚未注册地图API密钥,HYPERLINK"http://code.google.com/intl/zh-CN/apis/maps/signup.html"请注册一个免费的API密钥。 新!Google静态地图API现在具有HYPERLINK"http://code.google.com/intl/zh-CN/apis/maps/documentation/staticmaps/"\l"MapTypes"卫星和地形图块功能! 快速示例 以下示例包含静态地图图像的网址,如下所示: #NotethatthisURLwrapsatthe'\'character. #YoucancopytheURLfromtheimagebelow,however. #Forclarity,wedon'twritetheactualAPIkeyinuse. # http://ditu.google.cn/staticmap?center=40.714728,-73.998672&zoom=14&size=512x512&maptype=mobile\ &markers=39.949328,116.3875,blues%7C39.949328,116.3775,greeng%7C39.943028,116.3975,redc\ &key=MAPS_API_KEY&sensor=false 请注意,您无需进行任何“特殊”操作便可在地图上显示此图像。不需要JavaScript。只需创建一个网址并将其放入<img>标签中。您可以将Google静态地图放在可放置图像的网页上的任何位置。 目录 HYPERLINK"http://code.google.com/intl/zh-CN/apis/maps/documentation/staticmaps/"\l"Audience"受众 HYPERLINK"http://code.google.com/intl/zh-CN/apis/maps/documentation/staticmaps/"\l"Limits"使用限制 HYPERLINK"http://code.google.com/intl/zh-CN/apis/maps/documentation/staticmaps/"\l"Overview"概览 HYPERLINK"http://code.google.com/intl/zh-CN/apis/maps/documentation/staticmaps/"\l"URL_Parameters"网址参数 HYPERLINK"http://code.google.com/intl/zh-CN/apis/maps/documentation/staticmaps/"\l"Usage"参数的用法 HYPERLINK"http://code.google.com/intl/zh-CN/apis/maps/documentation/staticmaps/"\l"Locations"指定位置 HYPERLINK"http://code.google.com/intl/zh-CN/apis/maps/documentation/staticmaps/"\l"Latlons"经度和纬度 HYPERLINK"http://code.google.com/intl/zh-CN/apis/maps/documentation/staticmaps/"\l"Geocoding"地址解析 HYPERLINK"http://code.google.com/intl/zh-CN/apis/maps/documentation/staticmaps/"\l"Zoomlevels"缩放级别 HYPERLINK"http://code.google.com/intl/zh-CN/apis/maps/documentation/staticmaps/"\l"Imagesizes"图像大小 HYPERLINK"http://code.google.com/intl/zh-CN/apis/maps/documentation/staticmaps/"\l"Viewports"视口 HYPERL