index.wxml
<map id="map" markers="{{markers}}" longitude="{{longitude}}" latitude="{{latitude}}" scale="25" circles="{{circles}}" show-location="{{true}}" bindmarkertap="marker"></map>
index.js
Page({
data: {
latitude:30.,
longitude:114.,
circles:[{
latitude: 30.,
longitude: 114.,
fillColor:"#8DE25055",
radius:30
}],
markers: [{
iconPath: "/images/icon/map.png",
latitude: 30.,
longitude: 114.,
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(){
}
})
If this number of local contents do not get bits (for example: to copyright or other problems), please contact us for rectification can be timely and will be processed in the first time.
Please thumbs up! Because you agree / encouragement is the greatest power of my writing!
Welcome attention of niche t- Jane books!
This is a quality, attitude blog
If this number of local contents do not get bits (for example: to copyright or other problems), please contact us for rectification can be timely and will be processed in the first time.
Please thumbs up! Because you agree / encouragement is the greatest power of my writing!
Welcome attention of niche t- Jane books!
This is a quality, attitude blog