Planets
Planets
  • 发布:2024-05-06 20:57
  • 更新:2024-05-06 20:57
  • 阅读:34

获取地图中心点坐标调用this.mapContext.getCenterLocation频率是多少?

分类:uni-app
                        this.mapObj.getCenterLocation({  
                            type: 'gcj02',  
                            success: (res) => {  
                                console.log('获取当前地图中心的经纬度成功:', res);  
                                // 赋值当前视野中心  
                                if (this.longitude != res.longitude && this.latitude != res.latitude) {  
                                    this.longitude = res.longitude;  
                                    this.latitude = res.latitude;  
                                    this.markZhong = true  
                                    console.log(123456);  
                                }else{  
                                    this.markZhong = false  
                                }  
                            },  
                            fail: (err) => {  
                                console.log('获取当前地图中心的经纬度失败:', err);  
                            }  
                        })

报错:getMapCenterLocation:fail 系统错误,错误码:-13000,meet frequency limit, please slowdown and try again later
uniapp文档未标明调用频率,请问这频率是多少呢?

2024-05-06 20:57 负责人:无 分享
已邀请:

要回复问题请先登录注册