|
|
|
@ -1420,7 +1420,7 @@ export class CollectionToolsPlanComponent implements OnInit {
|
|
|
|
|
this.map = MapFactory.MapInstance("planContainer", { |
|
|
|
|
viewMode: '2D', // 默认使用 2D 模式,如果希望使用带有俯仰角的 3D 模式,请设置 viewMode: '3D',
|
|
|
|
|
zoom: 11, //初始化地图层级
|
|
|
|
|
}).self; |
|
|
|
|
}); |
|
|
|
|
if (this.selectingSitePlan.defaultCenter) { |
|
|
|
|
this.map.setZoom(this.selectingSitePlan.zoomLevel); //设置地图层级
|
|
|
|
|
this.map.setCenter([this.selectingSitePlan.defaultCenter.x, this.selectingSitePlan.defaultCenter.y]) |
|
|
|
|