摘要: 1、定位用到 wx.getLocation 函数,地图使用 map组件,详细教程参照官网; 注意事项:在给经度 和纬度赋值时,千万不能赋错; 2、先看下效果图: 3、在wxml页面定义map组件,包含 longitude、latitude、markers、scale、 show-location属性 阅读全文
posted @ 2018-08-15 10:00 四叶草2010 阅读(23101) 评论(0) 推荐(0) 编辑