Commit c3fa497121b229a59b24cf1cfb5ac8d5f125076e

Authored by wangfan
1 parent 5843af4f

c端预定

Showing 1 changed file with 8 additions and 9 deletions
... ... @@ -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,
... ...