|
|
@ -422,7 +422,7 @@ const vueGis = { |
|
|
|
// imgSize: [32, 32], |
|
|
|
// scale: 0.5, |
|
|
|
// src: oneIcon.urlIndex && this.iconUrlArray[oneIcon.urlIndex] || this.iconUrlArray[0] || this.iconUrlArray[0] |
|
|
|
src: (oneIcon.urlIndex && this.iconUrlArray[oneIcon.urlIndex]) || (oneIcon.index &&this.iconUrlArray[oneIcon.index]) || this.iconUrlArray[0] |
|
|
|
src: (oneIcon.urlIndex && this.iconUrlArray[oneIcon.urlIndex]) || (oneIcon.index && this.iconUrlArray[oneIcon.index]) || this.iconUrlArray[0] |
|
|
|
}), |
|
|
|
// text: createTextStyle(oneIcon) |
|
|
|
}); |
|
|
@ -627,6 +627,8 @@ const vueGis = { |
|
|
|
this.zoom = 13 |
|
|
|
} else if (level === 'community') { |
|
|
|
this.zoom = 14 |
|
|
|
} else { |
|
|
|
this.zoom = 12 |
|
|
|
} |
|
|
|
|
|
|
|
}, |
|
|
|