(以“{{jspopular-sidebar}} <h1>JavaScript API v2.0</h1> <p>百度地图JavaScript API是一套由JavaScript语言编写的应用程序接口,可帮助您在网站...”为内容创建页面) |
|||
第11行: | 第11行: | ||
<div class="item"> | <div class="item"> | ||
<div class="pic"> | <div class="pic"> | ||
− | + | http://developer.baidu.com/map/static/img/js_fn15.jpg | |
</div> | </div> | ||
<dl> | <dl> | ||
第17行: | 第17行: | ||
http://developer.baidu.com/map/static/img/new.png | http://developer.baidu.com/map/static/img/new.png | ||
</dt> | </dt> | ||
− | <dd>[http://developer.baidu.com/map/jsdemo.htm#j1_3 支持多个城市全景图(街景、室内实景图)展现] | + | <dd style="margin-left:0;">[http://developer.baidu.com/map/jsdemo.htm#j1_3 支持多个城市全景图(街景、室内实景图)展现] |
</dd> | </dd> | ||
</dl> | </dl> |
2014年8月5日 (二) 15:40的版本
JavaScript API v2.0
百度地图JavaScript API是一套由JavaScript语言编写的应用程序接口,可帮助您在网站中构建功能丰富、交互性强的地图应用,支持PC端和移动端基于浏览器的地图应用开发,且支持HTML5特性的地图开发。另外,2014年1月9日,极速版JavaScript API全新上线,此版本专门针对移动端浏览器开发提供。
该套API免费对外开放。自v1.5版本起,您需先申请密钥(ak)才可使用,接口(除发送短信功能外)无使用次数限制。
在您使用百度地图JavaScript API之前,请先阅读百度地图API使用条款。任何非营利性应用请直接使用,商业应用请参考使用须知。
- 全景图展现
- 支持多个城市全景图(街景、室内实景图)展现
<anchor url='http://developer.baidu.com/map/jsdemo.htm#c1_15'><img src='http://developer.baidu.com/map/static/img/js_fn15.jpg'></anchor>
<anchor url='http://developer.baidu.com/map/jsdemo.htm#k0_1'><img src='http://developer.baidu.com/map/static/img/js_fn15.jpg'></anchor>
<anchor url='http://developer.baidu.com/map/jsdemo.htm#a1_2'><img src='http://developer.baidu.com/map/static/img/js_fn1.jpg'></anchor>
<anchor url='http://developer.baidu.com/map/jsdemo.htm#i1_1'><img src='http://developer.baidu.com/map/static/img/js_fn4.jpg'></anchor>
- 本地检索
- [1]
<anchor url='http://developer.baidu.com/map/jsdemo.htm#i2_1'><img src='http://developer.baidu.com/map/static/img/js_fn5.jpg'></anchor>
<anchor url='http://developer.baidu.com/map/static/img/js_fn6.jpg'><img src='http://developer.baidu.com/map/static/img/js_fn6.jpg'></anchor>
<anchor url='http://developer.baidu.com/map/jsdemo.htm#i4_1'><img src='http://developer.baidu.com/map/static/img/js_fn7.jpg'></anchor>
- 公交检索
- 城市范围公交检索,返回多种换乘方案
<anchor url='http://developer.baidu.com/map/jsdemo.htm#i5_1'><img src='http://developer.baidu.com/map/static/img/js_fn8.jpg'></anchor>
- 驾车检索
- 支持全国范围的驾车检索,返回多种换乘方案
<anchor url='http://developer.baidu.com/map/jsdemo.htm#c1_1'><img src='http://developer.baidu.com/map/static/img/js_fn9.jpg'></anchor>
<anchor url='http://developer.baidu.com/map/jsdemo.htm#i7_1'><img src='http://developer.baidu.com/map/static/img/js_fn10.jpg'></anchor>
- 逆/地理编码
- 支持百度坐标与地址信息之间的转换
<anchor url='http://api.map.baidu.com/library/TrafficControl/1.4/examples/trafficControl.html'><img src='http://developer.baidu.com/map/static/img/js_fn3.jpg'></anchor>
- 实时交通
- 支持全国多个城市实时路况展示
<anchor url='http://developer.baidu.com/map/static/img/js_fn14.jpg'><img src='http://developer.baidu.com/map/static/img/js_fn2.jpg'></anchor>
<anchor url='http://developer.baidu.com/map/jsdemo.htm#d0_4'><img src='http://developer.baidu.com/map/static/img/js_fn11.jpg'></anchor>
- 短信发送位置信息
- 支持通过检索信息窗口发送位置点信息。
<anchor url='http://developer.baidu.com/map/jsdemo.htm#i1_6'><img src='http://developer.baidu.com/map/static/img/js_fn12.jpg'></anchor>
<anchor url='http://coralwave.duapp.com/curvelineDemo.html'><img src='http://developer.baidu.com/map/static/img/js_fn13.jpg'></anchor>
- 弧线绘制功能
- 支持绘制弧线功能,且可拖拽起终点改变弧线形状。