Showing
3 changed files
with
12 additions
and
3 deletions
| 1 | <!-- | 1 | <!-- |
| 2 | * @Date: 2023-01-09 15:22:38 | 2 | * @Date: 2023-01-09 15:22:38 |
| 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com | 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com |
| 4 | - * @LastEditTime: 2023-05-26 16:14:24 | 4 | + * @LastEditTime: 2023-05-29 14:18:36 |
| 5 | - * @FilePath: /tswj/index.html | 5 | + * @FilePath: /map-demo/index.html |
| 6 | * @Description: 文件描述 | 6 | * @Description: 文件描述 |
| 7 | --> | 7 | --> |
| 8 | <!DOCTYPE html> | 8 | <!DOCTYPE html> |
| ... | @@ -22,6 +22,6 @@ | ... | @@ -22,6 +22,6 @@ |
| 22 | securityJsCode:'8602057c4c8dae5bed9a240c0582c46f', | 22 | securityJsCode:'8602057c4c8dae5bed9a240c0582c46f', |
| 23 | } | 23 | } |
| 24 | </script> | 24 | </script> |
| 25 | - <script src="https://webapi.amap.com/maps?v=2.0&key=381c6763e1fefd810fbab697f470149c&plugin=AMap.ElasticMarker,AMap.ImageLayer"></script> | 25 | + <script src="https://webapi.amap.com/maps?v=2.0&key=381c6763e1fefd810fbab697f470149c&plugin=AMap.ElasticMarker,AMap.ImageLayer,AMap.ToolBar"></script> |
| 26 | </body> | 26 | </body> |
| 27 | </html> | 27 | </html> | ... | ... |
| ... | @@ -119,9 +119,18 @@ var toiletInfo = [ | ... | @@ -119,9 +119,18 @@ var toiletInfo = [ |
| 119 | }, | 119 | }, |
| 120 | ]; | 120 | ]; |
| 121 | 121 | ||
| 122 | +var activityInfo = [ | ||
| 123 | + { | ||
| 124 | + name: '素食', | ||
| 125 | + position: [120.587152, 31.314396], | ||
| 126 | + icon: '//a.amap.com/jsapi_demos/static/demo-center/icons/poi-marker-default.png', | ||
| 127 | + }, | ||
| 128 | +]; | ||
| 129 | + | ||
| 122 | export default { | 130 | export default { |
| 123 | sheshi, | 131 | sheshi, |
| 124 | touristSpots, | 132 | touristSpots, |
| 125 | spotInfo, | 133 | spotInfo, |
| 126 | toiletInfo, | 134 | toiletInfo, |
| 135 | + activityInfo, | ||
| 127 | }; | 136 | }; | ... | ... |
This diff is collapsed. Click to expand it.
-
Please register or login to post a comment