|
...
|
...
|
@@ -198,7 +198,7 @@ Page({ |
|
|
|
},
|
|
|
|
regionchange(e){
|
|
|
|
console.log('regionchange', e)
|
|
|
|
if(typeof this.mapCtx=='undefined') return;
|
|
|
|
if(typeof this.mapCtx=='undefined' || !this.mapCtx) return;
|
|
|
|
this.getClassNameFlag=true;
|
|
|
|
this.mapCtx.getScale({
|
|
|
|
success: (res) => {
|
|
...
|
...
|
@@ -239,7 +239,7 @@ Page({ |
|
|
|
},
|
|
|
|
mapUpdated(e){
|
|
|
|
console.log('mapUpdated', e)
|
|
|
|
if(typeof this.mapCtx=='undefined') return;
|
|
|
|
if(typeof this.mapCtx=='undefined' || !this.mapCtx) return;
|
|
|
|
this.getClassNameFlag=true;
|
|
|
|
this.mapCtx.getScale({
|
|
|
|
success:(res)=>{
|
...
|
...
|
|