全部服务产品
开发者频道
服务升级
登录

文档全面上新

更科技的视觉体验,更高效的页面结构,快前往体验吧!

体验新版
第24行: 第24行:
 
         <div class="item">
 
         <div class="item">
 
    <div class="pic">
 
    <div class="pic">
<anchor url='http://developer.baidu.com/map/jsdemo.htm#c1_15'><img src='http://developer.baidu.com/map/static/img/js_fn15.jpg'></anchor>
+
http://developer.baidu.com/map/static/img/js_fn15.jpg
 
             </div>
 
             </div>
 
    <dl>
 
    <dl>
第30行: 第30行:
 
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#c1_15 通过设置热力图半径、颜色、透明度等参数直观展示数据分布情况]
+
        <dd style="margin-left:0;">[http://developer.baidu.com/map/jsdemo.htm#c1_15 通过设置热力图半径、颜色、透明度等参数直观展示数据分布情况]
 
</dd>
 
</dd>
 
      </dl>
 
      </dl>
第37行: 第37行:
 
         <div class="item">
 
         <div class="item">
 
    <div class="pic">
 
    <div class="pic">
<anchor url='http://developer.baidu.com/map/jsdemo.htm#k0_1'><img src='http://developer.baidu.com/map/static/img/js_fn15.jpg'></anchor>
+
http://developer.baidu.com/map/static/img/js_fn15.jpg
 
             </div>
 
             </div>
 
    <dl>
 
    <dl>
第43行: 第43行:
 
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#k0_1 支持设置地图底图元素的显示与隐藏、展现风格(如深色,浅色)]
+
        <dd style="margin-left:0;">[http://developer.baidu.com/map/jsdemo.htm#k0_1 支持设置地图底图元素的显示与隐藏、展现风格(如深色,浅色)]
 
</dd>
 
</dd>
 
      </dl>
 
      </dl>
第50行: 第50行:
 
         <div class="item">
 
         <div class="item">
 
    <div class="pic">
 
    <div class="pic">
<anchor url='http://developer.baidu.com/map/jsdemo.htm#a1_2'><img src='http://developer.baidu.com/map/static/img/js_fn1.jpg'></anchor>
+
http://developer.baidu.com/map/static/img/js_fn1.jpg
 
             </div>
 
             </div>
 
    <dl>
 
    <dl>
 
        <dt>地图展示
 
        <dt>地图展示
 
                 </dt>
 
                 </dt>
        <dd>[http://developer.baidu.com/map/jsdemo.htm#a1_2 支持2D、3D、卫星图的展示、平移、缩放、拖拽等操作]
+
        <dd style="margin-left:0;">[http://developer.baidu.com/map/jsdemo.htm#a1_2 支持2D、3D、卫星图的展示、平移、缩放、拖拽等操作]
 
</dd>
 
</dd>
 
      </dl>
 
      </dl>
第62行: 第62行:
 
         <div class="item">
 
         <div class="item">
 
    <div class="pic">
 
    <div class="pic">
<anchor url='http://developer.baidu.com/map/jsdemo.htm#i1_1'><img src='http://developer.baidu.com/map/static/img/js_fn4.jpg'></anchor>
+
http://developer.baidu.com/map/static/img/js_fn4.jpg
 
             </div>
 
             </div>
 
    <dl>
 
    <dl>
 
        <dt>本地检索
 
        <dt>本地检索
 
                 </dt>
 
                 </dt>
        <dd>[http://developer.baidu.com/map/jsdemo.htm#i1_1支持城市的一个/多关键字检索]
+
        <dd style="margin-left:0;">[http://developer.baidu.com/map/jsdemo.htm#i1_1支持城市的一个/多关键字检索]
 
</dd>
 
</dd>
 
      </dl>
 
      </dl>
第74行: 第74行:
 
         <div class="item">
 
         <div class="item">
 
    <div class="pic">
 
    <div class="pic">
<anchor url='http://developer.baidu.com/map/jsdemo.htm#i2_1'><img src='http://developer.baidu.com/map/static/img/js_fn5.jpg'></anchor>
+
'http://developer.baidu.com/map/static/img/js_fn5.jpg
 
             </div>
 
             </div>
 
    <dl>
 
    <dl>
 
        <dt>周边检索
 
        <dt>周边检索
 
                 </dt>
 
                 </dt>
        <dd>[http://developer.baidu.com/map/jsdemo.htm#i2_1 支持多个城市全景图(街景、室内实景图)展现]
+
        <dd style="margin-left:0;">[http://developer.baidu.com/map/jsdemo.htm#i2_1 支持多个城市全景图(街景、室内实景图)展现]
 
</dd>
 
</dd>
 
      </dl>
 
      </dl>
第86行: 第86行:
 
         <div class="item">
 
         <div class="item">
 
    <div class="pic">
 
    <div class="pic">
<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>
+
http://developer.baidu.com/map/static/img/js_fn6.jpg
 
             </div>
 
             </div>
 
    <dl>
 
    <dl>
 
        <dt>区域检索
 
        <dt>区域检索
 
                 </dt>
 
                 </dt>
        <dd>[http://developer.baidu.com/map/jsdemo.htm#i3_1 持可视范围、圆形区域、Bounds进行区域或全国范围内检索]
+
        <dd style="margin-left:0;">[http://developer.baidu.com/map/jsdemo.htm#i3_1 持可视范围、圆形区域、Bounds进行区域或全国范围内检索]
 
</dd>
 
</dd>
 
      </dl>
 
      </dl>
第98行: 第98行:
 
         <div class="item">
 
         <div class="item">
 
    <div class="pic">
 
    <div class="pic">
<anchor url='http://developer.baidu.com/map/jsdemo.htm#i4_1'><img src='http://developer.baidu.com/map/static/img/js_fn7.jpg'></anchor>
+
http://developer.baidu.com/map/static/img/js_fn7.jpg
 
             </div>
 
             </div>
 
    <dl>
 
    <dl>
 
        <dt>公交检索
 
        <dt>公交检索
 
                 </dt>
 
                 </dt>
        <dd>[http://developer.baidu.com/map/jsdemo.htm#i4_1 城市范围公交检索,返回多种换乘方案]
+
        <dd style="margin-left:0;">[http://developer.baidu.com/map/jsdemo.htm#i4_1 城市范围公交检索,返回多种换乘方案]
 
</dd>
 
</dd>
 
      </dl>
 
      </dl>
第110行: 第110行:
 
         <div class="item">
 
         <div class="item">
 
    <div class="pic">
 
    <div class="pic">
<anchor url='http://developer.baidu.com/map/jsdemo.htm#i5_1'><img src='http://developer.baidu.com/map/static/img/js_fn8.jpg'></anchor>
+
http://developer.baidu.com/map/static/img/js_fn8.jpg
 
             </div>
 
             </div>
 
    <dl>
 
    <dl>
 
        <dt>驾车检索
 
        <dt>驾车检索
 
                 </dt>
 
                 </dt>
        <dd>[http://developer.baidu.com/map/jsdemo.htm#i5_1 支持全国范围的驾车检索,返回多种换乘方案]
+
        <dd style="margin-left:0;">[http://developer.baidu.com/map/jsdemo.htm#i5_1 支持全国范围的驾车检索,返回多种换乘方案]
 
</dd>
 
</dd>
 
      </dl>
 
      </dl>
第122行: 第122行:
 
         <div class="item">
 
         <div class="item">
 
    <div class="pic">
 
    <div class="pic">
<anchor url='http://developer.baidu.com/map/jsdemo.htm#c1_1'><img src='http://developer.baidu.com/map/static/img/js_fn9.jpg'></anchor>
+
http://developer.baidu.com/map/static/img/js_fn9.jpg
 
             </div>
 
             </div>
 
    <dl>
 
    <dl>
 
        <dt>覆盖物
 
        <dt>覆盖物
 
                 </dt>
 
                 </dt>
        <dd>[http://developer.baidu.com/map/jsdemo.htm#c1_1 支持添加点、线、面、热区、标签、自定义覆盖物、行政区划等]
+
        <dd style="margin-left:0;">[http://developer.baidu.com/map/jsdemo.htm#c1_1 支持添加点、线、面、热区、标签、自定义覆盖物、行政区划等]
 
</dd>
 
</dd>
 
      </dl>
 
      </dl>
第133行: 第133行:
  
 
         <div class="item">
 
         <div class="item">
    <div class="pic">
+
http://developer.baidu.com/map/static/img/js_fn10.jpg
<anchor url='http://developer.baidu.com/map/jsdemo.htm#i7_1'><img src='http://developer.baidu.com/map/static/img/js_fn10.jpg'></anchor>
+
 
             </div>
 
             </div>
 
    <dl>
 
    <dl>
 
        <dt>逆/地理编码
 
        <dt>逆/地理编码
 
                 </dt>
 
                 </dt>
        <dd>[http://developer.baidu.com/map/jsdemo.htm#i7_1 支持百度坐标与地址信息之间的转换]
+
        <dd style="margin-left:0;">[http://developer.baidu.com/map/jsdemo.htm#i7_1 支持百度坐标与地址信息之间的转换]
 
</dd>
 
</dd>
 
      </dl>
 
      </dl>
第146行: 第145行:
 
         <div class="item">
 
         <div class="item">
 
    <div class="pic">
 
    <div class="pic">
<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>
+
http://developer.baidu.com/map/static/img/js_fn3.jpg
 
             </div>
 
             </div>
 
    <dl>
 
    <dl>
 
        <dt>实时交通
 
        <dt>实时交通
 
                 </dt>
 
                 </dt>
        <dd>[http://api.map.baidu.com/library/TrafficControl/1.4/examples/trafficControl.html 支持全国多个城市实时路况展示]
+
        <dd style="margin-left:0;">[http://api.map.baidu.com/library/TrafficControl/1.4/examples/trafficControl.html 支持全国多个城市实时路况展示]
 
</dd>
 
</dd>
 
      </dl>
 
      </dl>
第158行: 第157行:
 
         <div class="item">
 
         <div class="item">
 
    <div class="pic">
 
    <div class="pic">
<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>
+
http://developer.baidu.com/map/static/img/js_fn2.jpg
 
             </div>
 
             </div>
 
    <dl>
 
    <dl>
 
        <dt>云麻点图
 
        <dt>云麻点图
 
                 </dt>
 
                 </dt>
        <dd>[http://developer.baidu.com/map/jsdemo.htm#g0_4 用户数据存入LBS云,使用麻点图功能可实现海量数据的地图展示]
+
        <dd style="margin-left:0;">[http://developer.baidu.com/map/jsdemo.htm#g0_4 用户数据存入LBS云,使用麻点图功能可实现海量数据的地图展示]
 
</dd>
 
</dd>
 
      </dl>
 
      </dl>
第170行: 第169行:
 
         <div class="item">
 
         <div class="item">
 
    <div class="pic">
 
    <div class="pic">
<anchor url='http://developer.baidu.com/map/jsdemo.htm#d0_4'><img src='http://developer.baidu.com/map/static/img/js_fn11.jpg'></anchor>
+
http://developer.baidu.com/map/static/img/js_fn11.jpg
 
             </div>
 
             </div>
 
    <dl>
 
    <dl>
 
        <dt>短信发送位置信息
 
        <dt>短信发送位置信息
 
                 </dt>
 
                 </dt>
        <dd>[http://developer.baidu.com/map/jsdemo.htm#d0_4 支持通过检索信息窗口发送位置点信息。]
+
        <dd style="margin-left:0;">[http://developer.baidu.com/map/jsdemo.htm#d0_4 支持通过检索信息窗口发送位置点信息。]
 
</dd>
 
</dd>
 
      </dl>
 
      </dl>
第182行: 第181行:
 
         <div class="item">
 
         <div class="item">
 
    <div class="pic">
 
    <div class="pic">
<anchor url='http://developer.baidu.com/map/jsdemo.htm#i1_6'><img src='http://developer.baidu.com/map/static/img/js_fn12.jpg'></anchor>
+
http://developer.baidu.com/map/static/img/js_fn12.jpg
 
             </div>
 
             </div>
 
    <dl>
 
    <dl>
 
        <dt>POI详情展示
 
        <dt>POI详情展示
 
                 </dt>
 
                 </dt>
        <dd>[http://developer.baidu.com/map/jsdemo.htm#i1_6 开放检索POI的详情信息(如描述、评论、口味等),支持信息窗口、列表、自定义方式展示]
+
        <dd style="margin-left:0;">[http://developer.baidu.com/map/jsdemo.htm#i1_6 开放检索POI的详情信息(如描述、评论、口味等),支持信息窗口、列表、自定义方式展示]
 
</dd>
 
</dd>
 
      </dl>
 
      </dl>
第194行: 第193行:
 
         <div class="item">
 
         <div class="item">
 
    <div class="pic">
 
    <div class="pic">
<anchor url='http://coralwave.duapp.com/curvelineDemo.html'><img src='http://developer.baidu.com/map/static/img/js_fn13.jpg'></anchor>
+
'http://developer.baidu.com/map/static/img/js_fn13.jpg
 
             </div>
 
             </div>
 
    <dl>
 
    <dl>
 
        <dt>弧线绘制功能
 
        <dt>弧线绘制功能
 
                 </dt>
 
                 </dt>
        <dd>[http://coralwave.duapp.com/curvelineDemo.html 支持绘制弧线功能,且可拖拽起终点改变弧线形状。]
+
        <dd style="margin-left:0;">[http://coralwave.duapp.com/curvelineDemo.html 支持绘制弧线功能,且可拖拽起终点改变弧线形状。]
 
</dd>
 
</dd>
 
      </dl>
 
      </dl>
 
  </div>
 
  </div>

2014年8月5日 (二) 15:44的版本


JavaScript API v2.0

百度地图JavaScript API是一套由JavaScript语言编写的应用程序接口,可帮助您在网站中构建功能丰富、交互性强的地图应用,支持PC端和移动端基于浏览器的地图应用开发,且支持HTML5特性的地图开发。另外,2014年1月9日,极速版JavaScript API全新上线,此版本专门针对移动端浏览器开发提供。

该套API免费对外开放。自v1.5版本起,您需先申请密钥(ak)才可使用,接口(除发送短信功能外)无使用次数限制。

在您使用百度地图JavaScript API之前,请先阅读百度地图API使用条款。任何非营利性应用请直接使用,商业应用请参考使用须知

功能介绍
  • 文档根本没法用

  • 文档水平很差

  • 文档水平一般

  • 文档不错

  • 文档写的很好

如发现文档错误,或对此文档有更好的建议,请在下方反馈。问题咨询请前往反馈平台提交工单咨询。

提交反馈

拖动标注工具

添加矩形标注

添加箭头标注

完成

取消