|
...
|
...
|
@@ -462,7 +462,9 @@ Page({ |
|
|
|
if(tags.length>0){
|
|
|
|
param.tags=tags;
|
|
|
|
}
|
|
|
|
param.centre_pos=`${param.lat},${param.lng}`
|
|
|
|
if(param.lat){
|
|
|
|
param.centre_pos=`${param.lat},${param.lng}`
|
|
|
|
}
|
|
|
|
if(this.data.hasSuggestion){
|
|
|
|
param.centre_pos=`${this.data.suggestion.latitude},${this.data.suggestion.longitude}`
|
|
|
|
}
|
|
...
|
...
|
@@ -730,16 +732,22 @@ Page({ |
|
|
|
|
|
|
|
if(this.data.hasSuggestion){
|
|
|
|
map=this.data.suggestion
|
|
|
|
}else{
|
|
|
|
map=this.data.map
|
|
|
|
mks.push({
|
|
|
|
id: 'location',
|
|
|
|
iconPath: "http://qn.colorcun.com/reserve/images/location.png"+cates_version,
|
|
|
|
latitude: map.latitude,
|
|
|
|
longitude: map.longitude,
|
|
|
|
width: 20,
|
|
|
|
height: 25,
|
|
|
|
})
|
|
|
|
}
|
|
|
|
mks.push({
|
|
|
|
id: 'location',
|
|
|
|
iconPath: "http://qn.colorcun.com/reserve/images/location.png"+cates_version,
|
|
|
|
latitude: map.latitude,
|
|
|
|
longitude: map.longitude,
|
|
|
|
width: 20,
|
|
|
|
height: 25,
|
|
|
|
iconPath: "http://qn.colorcun.com/reserve/images/lme.png"+cates_version,
|
|
|
|
latitude: this.user.latitude,
|
|
|
|
longitude: this.user.longitude,
|
|
|
|
width: 18,
|
|
|
|
height: 30,
|
|
|
|
})
|
|
|
|
return mks;
|
|
|
|
},
|
...
|
...
|
|