|
...
|
...
|
@@ -193,14 +193,13 @@ Page({ |
|
|
|
},
|
|
|
|
regionchange(e){
|
|
|
|
console.log('regionchange', e)
|
|
|
|
if(typeof this.mapCtx.getScale!='undefined') {
|
|
|
|
this.mapCtx.getScale({
|
|
|
|
success: (res) => {
|
|
|
|
this.mapData.scale = res.scale;
|
|
|
|
console.log('regionchange.getScale', res, this.data.map.scale)
|
|
|
|
},
|
|
|
|
})
|
|
|
|
}
|
|
|
|
if(typeof this.mapCtx=='undefined') return;
|
|
|
|
this.mapCtx.getScale({
|
|
|
|
success: (res) => {
|
|
|
|
this.mapData.scale = res.scale;
|
|
|
|
console.log('regionchange.getScale', res, this.data.map.scale)
|
|
|
|
},
|
|
|
|
})
|
|
|
|
|
|
|
|
this.mapCtx.getCenterLocation({
|
|
|
|
success:(res)=>{
|
|
...
|
...
|
@@ -336,7 +335,7 @@ Page({ |
|
|
|
let namelength = seller.sellername.replace(/[^\x00-\xff]/g, "01").length + 8;
|
|
|
|
let marker={
|
|
|
|
id: seller.id,
|
|
|
|
iconPath: "http://qn.colorcun.com/custom/lite-online/image/circle.png",
|
|
|
|
iconPath: "http://qn.colorcun.com/custom/lite-online/cates/circle.png",
|
|
|
|
latitude: seller.lat,
|
|
|
|
longitude: seller.long,
|
|
|
|
width: 7,
|
...
|
...
|
|