addGroundOverlay 安卓中失效 error success不回调 走complete
发布于 4 年前 作者 bli 11442 次浏览 来自 官方Issues

   let data="https://image.weatherol.com/radar/Z_RADA_C_BABJ_20210526234701_P_ACHN.QREF000.20210526.233600.latlon.png"

     ,1622073045000,

     [12.198644871396656, 73.00303437518009, 54.202328766926335, 135.00944725131708]]

   this.mapCtx.addGroundOverlay({

     id:data[1],

     src:data[0],

     opacity:0.6,

     visible:true,

     zIndex:999,

     bounds:{              

           southwest:{longitude:data[2][1],latitude:data[2][0]},

           northeast:{longitude:data[2][3],latitude:data[2][2]}

     },

     success(res){

          console.log('saddGroundOverlayuccess')

     },

     error(err){

       console.log('addGroundOverlayerr')

     },

     complete(res) {

        console.log('completeGroundOverlayerr')

     }

   })

1 回复

你好,麻烦提供出现问题的具体机型、微信版本号、系统版本号,以及能复现问题的代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html

回到顶部