Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
map-demo
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
hookehuyr
2023-05-29 17:25:14 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
c23534978370769833a0c39ccc07ea9c63d79a3f
c2353497
1 parent
8181be2b
地图样式新增
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
3 deletions
index.html
src/common/tiantan_v2.js
src/views/index.vue
index.html
View file @
c235349
<!--
* @Date: 2023-01-09 15:22:38
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2023-05-2
6 16:14:24
* @FilePath: /
tswj
/index.html
* @LastEditTime: 2023-05-2
9 14:18:36
* @FilePath: /
map-demo
/index.html
* @Description: 文件描述
-->
<!DOCTYPE html>
...
...
@@ -22,6 +22,6 @@
securityJsCode
:
'8602057c4c8dae5bed9a240c0582c46f'
,
}
</script>
<script
src=
"https://webapi.amap.com/maps?v=2.0&key=381c6763e1fefd810fbab697f470149c&plugin=AMap.ElasticMarker,AMap.ImageLayer"
></script>
<script
src=
"https://webapi.amap.com/maps?v=2.0&key=381c6763e1fefd810fbab697f470149c&plugin=AMap.ElasticMarker,AMap.ImageLayer
,AMap.ToolBar
"
></script>
</body>
</html>
...
...
src/common/tiantan_v2.js
View file @
c235349
...
...
@@ -119,9 +119,18 @@ var toiletInfo = [
},
];
var
activityInfo
=
[
{
name
:
'素食'
,
position
:
[
120.587152
,
31.314396
],
icon
:
'//a.amap.com/jsapi_demos/static/demo-center/icons/poi-marker-default.png'
,
},
];
export
default
{
sheshi
,
touristSpots
,
spotInfo
,
toiletInfo
,
activityInfo
,
};
...
...
src/views/index.vue
View file @
c235349
This diff is collapsed. Click to expand it.
Please
register
or
login
to post a comment