├── README ├── advanced ├── custom-control.html ├── custom-maptype.html ├── custom-overlay.html ├── map-coordinates.html └── tiles │ ├── 1 │ ├── tile-1_-1.png │ ├── tile-1_0.png │ ├── tile0_-1.png │ └── tile0_0.png │ ├── 2 │ ├── tile-1_-1.png │ ├── tile-1_0.png │ ├── tile-2_-1.png │ ├── tile-2_0.png │ ├── tile0_-1.png │ ├── tile0_0.png │ ├── tile1_-1.png │ └── tile1_0.png │ └── 3 │ ├── tile-1_-1.png │ ├── tile-1_-2.png │ ├── tile-1_0.png │ ├── tile-1_1.png │ ├── tile-2_-1.png │ ├── tile-2_-2.png │ ├── tile-2_0.png │ ├── tile-2_1.png │ ├── tile-3_-1.png │ ├── tile-3_-2.png │ ├── tile-3_0.png │ ├── tile-3_1.png │ ├── tile0_-1.png │ ├── tile0_-2.png │ ├── tile0_0.png │ ├── tile0_1.png │ ├── tile1_-1.png │ ├── tile1_-2.png │ ├── tile1_0.png │ ├── tile1_1.png │ ├── tile2_-1.png │ ├── tile2_-2.png │ ├── tile2_0.png │ └── tile2_1.png ├── controls ├── add-control.html ├── control-config.html └── control-position.html ├── event ├── add-listener.html ├── event-params.html ├── event-this.html └── remove-listener.html ├── layers └── add-layer.html ├── map └── hello-world.html ├── overlays ├── add-label.html ├── add-overlay.html ├── custom-marker-icon.html ├── infowindow.html ├── marker-animation.html └── pin.png ├── services ├── driving-draggable.html ├── driving-panel.html ├── driving.html ├── localsearch-data.html ├── localsearch-panel.html ├── localsearch.html ├── transit-by-point.html ├── transit-panel.html └── transit.html └── webcomponents ├── simple-map.html └── subway.html /README: -------------------------------------------------------------------------------- 1 | 百度地图API学习范例 -------------------------------------------------------------------------------- /advanced/custom-control.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | custom-control 6 | 9 | 10 | 11 | 12 |
13 | 53 | 54 | 55 | -------------------------------------------------------------------------------- /advanced/custom-maptype.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | custom-maptype 5 | 6 | 7 | 10 | 11 | 12 | 13 |
14 | 15 | 16 | 27 | 28 | 29 | 30 | 31 | 32 | -------------------------------------------------------------------------------- /advanced/custom-overlay.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | custom-overlay 6 | 9 | 10 | 11 | 12 |
13 | 58 | 59 | 60 | -------------------------------------------------------------------------------- /advanced/map-coordinates.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | map-coordinates 6 | 7 | 8 | 9 |
10 | 45 | 46 | -------------------------------------------------------------------------------- /advanced/tiles/1/tile-1_-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiazheng/Baidu-Map-API-Learning/a110dd43b61e4ff7917ca5ee8c27446a1b0120f7/advanced/tiles/1/tile-1_-1.png -------------------------------------------------------------------------------- /advanced/tiles/1/tile-1_0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiazheng/Baidu-Map-API-Learning/a110dd43b61e4ff7917ca5ee8c27446a1b0120f7/advanced/tiles/1/tile-1_0.png -------------------------------------------------------------------------------- /advanced/tiles/1/tile0_-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiazheng/Baidu-Map-API-Learning/a110dd43b61e4ff7917ca5ee8c27446a1b0120f7/advanced/tiles/1/tile0_-1.png -------------------------------------------------------------------------------- /advanced/tiles/1/tile0_0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiazheng/Baidu-Map-API-Learning/a110dd43b61e4ff7917ca5ee8c27446a1b0120f7/advanced/tiles/1/tile0_0.png -------------------------------------------------------------------------------- /advanced/tiles/2/tile-1_-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiazheng/Baidu-Map-API-Learning/a110dd43b61e4ff7917ca5ee8c27446a1b0120f7/advanced/tiles/2/tile-1_-1.png -------------------------------------------------------------------------------- /advanced/tiles/2/tile-1_0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiazheng/Baidu-Map-API-Learning/a110dd43b61e4ff7917ca5ee8c27446a1b0120f7/advanced/tiles/2/tile-1_0.png -------------------------------------------------------------------------------- /advanced/tiles/2/tile-2_-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiazheng/Baidu-Map-API-Learning/a110dd43b61e4ff7917ca5ee8c27446a1b0120f7/advanced/tiles/2/tile-2_-1.png -------------------------------------------------------------------------------- /advanced/tiles/2/tile-2_0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiazheng/Baidu-Map-API-Learning/a110dd43b61e4ff7917ca5ee8c27446a1b0120f7/advanced/tiles/2/tile-2_0.png -------------------------------------------------------------------------------- /advanced/tiles/2/tile0_-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiazheng/Baidu-Map-API-Learning/a110dd43b61e4ff7917ca5ee8c27446a1b0120f7/advanced/tiles/2/tile0_-1.png -------------------------------------------------------------------------------- /advanced/tiles/2/tile0_0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiazheng/Baidu-Map-API-Learning/a110dd43b61e4ff7917ca5ee8c27446a1b0120f7/advanced/tiles/2/tile0_0.png -------------------------------------------------------------------------------- /advanced/tiles/2/tile1_-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiazheng/Baidu-Map-API-Learning/a110dd43b61e4ff7917ca5ee8c27446a1b0120f7/advanced/tiles/2/tile1_-1.png -------------------------------------------------------------------------------- /advanced/tiles/2/tile1_0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiazheng/Baidu-Map-API-Learning/a110dd43b61e4ff7917ca5ee8c27446a1b0120f7/advanced/tiles/2/tile1_0.png -------------------------------------------------------------------------------- /advanced/tiles/3/tile-1_-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiazheng/Baidu-Map-API-Learning/a110dd43b61e4ff7917ca5ee8c27446a1b0120f7/advanced/tiles/3/tile-1_-1.png -------------------------------------------------------------------------------- /advanced/tiles/3/tile-1_-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiazheng/Baidu-Map-API-Learning/a110dd43b61e4ff7917ca5ee8c27446a1b0120f7/advanced/tiles/3/tile-1_-2.png -------------------------------------------------------------------------------- /advanced/tiles/3/tile-1_0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiazheng/Baidu-Map-API-Learning/a110dd43b61e4ff7917ca5ee8c27446a1b0120f7/advanced/tiles/3/tile-1_0.png -------------------------------------------------------------------------------- /advanced/tiles/3/tile-1_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiazheng/Baidu-Map-API-Learning/a110dd43b61e4ff7917ca5ee8c27446a1b0120f7/advanced/tiles/3/tile-1_1.png -------------------------------------------------------------------------------- /advanced/tiles/3/tile-2_-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiazheng/Baidu-Map-API-Learning/a110dd43b61e4ff7917ca5ee8c27446a1b0120f7/advanced/tiles/3/tile-2_-1.png -------------------------------------------------------------------------------- /advanced/tiles/3/tile-2_-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiazheng/Baidu-Map-API-Learning/a110dd43b61e4ff7917ca5ee8c27446a1b0120f7/advanced/tiles/3/tile-2_-2.png -------------------------------------------------------------------------------- /advanced/tiles/3/tile-2_0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiazheng/Baidu-Map-API-Learning/a110dd43b61e4ff7917ca5ee8c27446a1b0120f7/advanced/tiles/3/tile-2_0.png -------------------------------------------------------------------------------- /advanced/tiles/3/tile-2_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiazheng/Baidu-Map-API-Learning/a110dd43b61e4ff7917ca5ee8c27446a1b0120f7/advanced/tiles/3/tile-2_1.png -------------------------------------------------------------------------------- /advanced/tiles/3/tile-3_-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiazheng/Baidu-Map-API-Learning/a110dd43b61e4ff7917ca5ee8c27446a1b0120f7/advanced/tiles/3/tile-3_-1.png -------------------------------------------------------------------------------- /advanced/tiles/3/tile-3_-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiazheng/Baidu-Map-API-Learning/a110dd43b61e4ff7917ca5ee8c27446a1b0120f7/advanced/tiles/3/tile-3_-2.png -------------------------------------------------------------------------------- /advanced/tiles/3/tile-3_0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiazheng/Baidu-Map-API-Learning/a110dd43b61e4ff7917ca5ee8c27446a1b0120f7/advanced/tiles/3/tile-3_0.png -------------------------------------------------------------------------------- /advanced/tiles/3/tile-3_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiazheng/Baidu-Map-API-Learning/a110dd43b61e4ff7917ca5ee8c27446a1b0120f7/advanced/tiles/3/tile-3_1.png -------------------------------------------------------------------------------- /advanced/tiles/3/tile0_-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiazheng/Baidu-Map-API-Learning/a110dd43b61e4ff7917ca5ee8c27446a1b0120f7/advanced/tiles/3/tile0_-1.png -------------------------------------------------------------------------------- /advanced/tiles/3/tile0_-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiazheng/Baidu-Map-API-Learning/a110dd43b61e4ff7917ca5ee8c27446a1b0120f7/advanced/tiles/3/tile0_-2.png -------------------------------------------------------------------------------- /advanced/tiles/3/tile0_0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiazheng/Baidu-Map-API-Learning/a110dd43b61e4ff7917ca5ee8c27446a1b0120f7/advanced/tiles/3/tile0_0.png -------------------------------------------------------------------------------- /advanced/tiles/3/tile0_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiazheng/Baidu-Map-API-Learning/a110dd43b61e4ff7917ca5ee8c27446a1b0120f7/advanced/tiles/3/tile0_1.png -------------------------------------------------------------------------------- /advanced/tiles/3/tile1_-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiazheng/Baidu-Map-API-Learning/a110dd43b61e4ff7917ca5ee8c27446a1b0120f7/advanced/tiles/3/tile1_-1.png -------------------------------------------------------------------------------- /advanced/tiles/3/tile1_-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiazheng/Baidu-Map-API-Learning/a110dd43b61e4ff7917ca5ee8c27446a1b0120f7/advanced/tiles/3/tile1_-2.png -------------------------------------------------------------------------------- /advanced/tiles/3/tile1_0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiazheng/Baidu-Map-API-Learning/a110dd43b61e4ff7917ca5ee8c27446a1b0120f7/advanced/tiles/3/tile1_0.png -------------------------------------------------------------------------------- /advanced/tiles/3/tile1_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiazheng/Baidu-Map-API-Learning/a110dd43b61e4ff7917ca5ee8c27446a1b0120f7/advanced/tiles/3/tile1_1.png -------------------------------------------------------------------------------- /advanced/tiles/3/tile2_-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiazheng/Baidu-Map-API-Learning/a110dd43b61e4ff7917ca5ee8c27446a1b0120f7/advanced/tiles/3/tile2_-1.png -------------------------------------------------------------------------------- /advanced/tiles/3/tile2_-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiazheng/Baidu-Map-API-Learning/a110dd43b61e4ff7917ca5ee8c27446a1b0120f7/advanced/tiles/3/tile2_-2.png -------------------------------------------------------------------------------- /advanced/tiles/3/tile2_0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiazheng/Baidu-Map-API-Learning/a110dd43b61e4ff7917ca5ee8c27446a1b0120f7/advanced/tiles/3/tile2_0.png -------------------------------------------------------------------------------- /advanced/tiles/3/tile2_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiazheng/Baidu-Map-API-Learning/a110dd43b61e4ff7917ca5ee8c27446a1b0120f7/advanced/tiles/3/tile2_1.png -------------------------------------------------------------------------------- /controls/add-control.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | add-control 6 | 9 | 10 | 11 | 12 |
13 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /controls/control-config.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | control-config 6 | 9 | 10 | 11 | 12 |
13 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /controls/control-position.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | control-position 6 | 9 | 10 | 11 | 12 |
13 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /event/add-listener.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | add-listener 6 | 9 | 10 | 11 | 12 |
13 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /event/event-params.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | event-params 6 | 9 | 10 | 11 | 12 |
13 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /event/event-this.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | event-this 6 | 9 | 10 | 11 | 12 |
13 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /event/remove-listener.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | remove-listener 6 | 9 | 10 | 11 | 12 |
13 | 14 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /layers/add-layer.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | add-layer 6 | 9 | 10 | 11 | 12 |
13 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /map/hello-world.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | hello-world 6 | 9 | 10 | 11 | 12 |
13 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /overlays/add-label.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | add-label 6 | 9 | 10 | 11 | 12 |
13 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /overlays/add-overlay.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | add-overlay 6 | 9 | 10 | 11 | 12 |
13 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /overlays/custom-marker-icon.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | add-overlay 6 | 9 | 10 | 11 | 12 |
13 | 32 | 33 | 34 | -------------------------------------------------------------------------------- /overlays/infowindow.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | add-overlay 6 | 9 | 10 | 11 | 12 |
13 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /overlays/marker-animation.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | marker-animation 6 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /overlays/pin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiazheng/Baidu-Map-API-Learning/a110dd43b61e4ff7917ca5ee8c27446a1b0120f7/overlays/pin.png -------------------------------------------------------------------------------- /services/driving-draggable.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | driving 6 | 10 | 11 | 12 | 13 |
14 |
15 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /services/driving-panel.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | driving 6 | 10 | 11 | 12 | 13 |
14 |
15 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /services/driving.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | driving 6 | 9 | 10 | 11 | 12 |
13 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /services/localsearch-data.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | localsearch 6 | 10 | 11 | 12 | 13 |
14 |
15 | 38 | 39 | 40 | -------------------------------------------------------------------------------- /services/localsearch-panel.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | localsearch 6 | 10 | 11 | 12 | 13 |
14 |
15 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /services/localsearch.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | localsearch 6 | 9 | 10 | 11 | 12 |
13 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /services/transit-by-point.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | transit 6 | 9 | 10 | 11 | 12 |
13 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /services/transit-panel.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | transit 6 | 10 | 11 | 12 | 13 |
14 |
15 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /services/transit.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | transit 6 | 9 | 10 | 11 | 12 |
13 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /webcomponents/simple-map.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 地图组件 6 | 8 | 12 | 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /webcomponents/subway.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 北京地铁图 8 | 11 | 12 | 13 | 14 | 15 | --------------------------------------------------------------------------------