微信小程序wx.openLocation-微信小程序可以随便点吗-微信小程序开发简单吗
map.jsmap:function(){wx.getLocation({type:'gcj02',//返回可以用于wx.openLocation的经纬度success(res){constlatitude=res.latitudeconstlongitude=res.longitudewx.openLocation({latitude,longitude,scale:18})}})},map.wxmlbuttonbindtap="map"点击我/button效果图:
声明:本站所有文章资源内容,如无特殊说明或标注,均为采集网络资源。如若本站内容侵犯了原著者的合法权益,可联系本站删除。

