企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持知识库和私有化部署方案 广告
[腾讯地图坐标拾取](https://lbs.qq.com/tool/getpoint/) ~~~ <map id="map" markers="{{markers}}" longitude="{{longitude}}" latitude="{{latitude}}" scale="25" circles="{{circles}}" show-location="{{true}}" bindmarkertap="marker"></map> 说明:里面配置的内容事件对应下面事件 ~~~ ~~~ //js文件 Page({ data: { latitude:30.537094, //纬度 longitude:114.333649, //经度 circles:[{ //目标区域的圆形圈 latitude: 30.537094, longitude: 114.333649, fillColor:"#8DE25055", radius:30 }], //给目标位置一个图片 markers: [{ iconPath: "/images/icon/map.png", latitude: 30.537094, longitude: 114.333649, width: 30, height: 30, title:"极客营科技", id:0, //给目标地点一个标注信息 label:{ content:"极客营科技有限公司", color:"#EE5E7B", borderWidth:1, borderColor:"#EE5E78", borderRadius:5, padding:5, }, //冒泡事件(点击显示信息的信息配置) callout:{ content:"极客营科技有限公司", color:"#EE5E7B", borderWidth:1, borderColor:"#EE5E78", borderRadius:5, padding:5, } }], }, //调用冒泡事件 marker(){ } }) ~~~