|
@ -390,11 +390,11 @@ const vueGis = { |
|
|
//根据组织层级设置缩放级别 |
|
|
//根据组织层级设置缩放级别 |
|
|
setZoom (agencyLevel) { |
|
|
setZoom (agencyLevel) { |
|
|
if (agencyLevel === 'district') { |
|
|
if (agencyLevel === 'district') { |
|
|
this.zoom = 13 |
|
|
this.zoom = 12 |
|
|
} else if (agencyLevel === 'street') { |
|
|
} else if (agencyLevel === 'street') { |
|
|
this.zoom = 14 |
|
|
this.zoom = 13 |
|
|
} else if (agencyLevel === 'community') { |
|
|
} else if (agencyLevel === 'community') { |
|
|
this.zoom = 15 |
|
|
this.zoom = 14 |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
}, |
|
|
}, |
|
|