|
@@ -2,8 +2,8 @@
|
|
|
<div id="mapApp">
|
|
|
<div class="btn" v-if="nowObj['前时相']">
|
|
|
<!-- <el-button @click="drawer = true">打开抽屉</el-button> -->
|
|
|
- <span class="sx qsx">前时相:{{ nowObj.qsx }}</span>
|
|
|
- <span class="sx hsx">后时相:{{ nowObj.hsx }}</span>
|
|
|
+ <span class="sx qsx">前时相:{{ nowObj['前时相']}}</span>
|
|
|
+ <span class="sx hsx">后时相:{{ nowObj['后时相'] }}</span>
|
|
|
</div>
|
|
|
<MapView :maptype="maptype" ref="MapView" />
|
|
|
|
|
@@ -389,7 +389,7 @@ export default {
|
|
|
});
|
|
|
window.map["mapCon1"].getView().animate({
|
|
|
center: [item["中心点经度"], item["中心点纬度"]],
|
|
|
- zoom: 17,
|
|
|
+ zoom: 16.5,
|
|
|
duration: 2000, // 动画持续时间,单位毫秒
|
|
|
});
|
|
|
window.map["mapCon1"].addLayer(this.itemObj);
|