onReady() {
var that = this;
this._mapContext = uni.createMapContext("myMap1", this);
console.log(this._mapContext.getScale())
},
全部为undefined
产品分类: uniapp/App
PC开发环境操作系统: Windows
PC开发环境操作系统版本号: win10
HBuilderX类型: 正式
HBuilderX版本号: 3.6.4
手机系统: Android
手机系统版本号: Android 12
手机厂商: 华为
手机机型: /
页面类型: vue
vue版本: vue2
打包方式: 云端
项目创建方式: HBuilderX
onReady() {
var that = this;
this._mapContext = uni.createMapContext("myMap1", this);
console.log(this._mapContext.getScale())
},
全部为undefined
onReady() {
var that = this;
this._mapContext = uni.createMapContext("myMap1", this);
console.log(this._mapContext.getScale())
},
全部为undefined
onReady() {
var that = this;
this._mapContext = uni.createMapContext("myMap1", this);
console.log(this._mapContext.getScale())
},
全部为undefined
onReady() {
var that = this;
this._mapContext = uni.createMapContext("myMap1", this);
console.log(this._mapContext.getScale())
},
全部为undefined
onReady() {
var that = this;
this._mapContext = uni.createMapContext("myMap1", this);
console.log(this._mapContext.getScale())
},
全部为undefined
9***@qq.com (作者)
您指的是什么版本?
2022-09-27 18:04
9***@qq.com (作者)
vue 还是 hbuilder 呢?
2022-09-27 18:05
9***@qq.com (作者)
vue 页面 $getAppMap() 获取也是undefined
2022-09-27 18:09