feat: 添加点标记

This commit is contained in:
蒋承
2022-10-24 10:20:06 +08:00
parent e89dc9d0e7
commit 94b06552f2
3 changed files with 37 additions and 4 deletions
@@ -0,0 +1,17 @@
{
"points": [
{
"icon": "//a.amap.com/jsapi_demos/static/demo-center/icons/poi-marker-1.png",
"position": [116.300467, 39.907761],
"title": "我是一个文本"
},
{
"icon": "//a.amap.com/jsapi_demos/static/demo-center/icons/poi-marker-2.png",
"position": [116.368904, 39.913423]
},
{
"icon": "//a.amap.com/jsapi_demos/static/demo-center/icons/poi-marker-3.png",
"position": [116.305467, 39.807761]
}
]
}