Ver Fonte

测试地图

peiguo há 4 anos atrás
pai
commit
0e7b420944
1 ficheiros alterados com 1 adições e 0 exclusões
  1. 1 0
      whepi-ui/templates/home/getLocation.js

+ 1 - 0
whepi-ui/templates/home/getLocation.js

@@ -13,6 +13,7 @@ function getLocation() {
   //return;
   wx.getLocation({
     type: 'wgs84',
+    altitude: "true",
     success: function (res) {
       // alert(JSON.stringify(res));