wx.openLocation 的地图为什么显示不全

img

wx.openLocation 的地图为什么显示不全,网上只找到了map组件显示不全的解决问题,但是wx.openLocation怎么办,求解,而且我的scale参数貌似也什么用

这应该是模拟器的问题吧,看看真机


  showmap:function (){
    this.openLocationFun(40.061652,116.414636,15,"测试","");
  },
  openLocationFun: function(latitude, longitude, scale, name, address, cbSuccessFun, cbFailFun, cbCompleteFun){  
    var openObj= {};  
    openObj.latitude = latitude;  
    openObj.longitude = longitude;  
    openObj.scale = 15;  
    if(scale>0 && scale < 29) {
      openObj.scale = scale;
    }  
    if(name) {
      openObj.name = name;
    }  
    if(address) {
      openObj.address = address;
    }  
    openObj.success = function (res) {
      if (cbSuccessFun) {
        cbSuccessFun();
      }
    }  
    openObj.fail = function (res) {
      if (cbFailFun) {
        cbFailFun();
      } else {
        console.log("openLocation fail:" + res.errMsg);
      }
    }  
    openObj.complete = function (res) {
      if (cbCompleteFun) {
        cbCompleteFun();
      }
    }  
    wx.openLocation(openObj);
  }

img