husq
2023-09-13 01e5133c54adf39957213fcc3d5a79ef834acf14
src/components/cesiumMap/cesium.vue
@@ -1,13 +1,3 @@
<!--
 * @Author: 胡思旗 931347610@qq.com
 * @Date: 2023-08-22 17:50:30
 * @LastEditors: husq 931347610@qq.com
 * @LastEditTime: 2023-09-11 09:57:01
 * @FilePath: \Cloud-API-Demo-Web\src\components\cesiumMap\cesium.vue
 * @Description:
 *
 * Copyright (c) 2023 by ${git_name_email}, All Rights Reserved.
-->
<template>
  <div class="height-100 width-100 cesium" id="cesiumContainer"></div>
  <div v-if="centerConfig.type && !centerConfig.latitude" class="pointLongitude">在地图上点击绘制项目中心点</div>
@@ -141,7 +131,7 @@
// 设置项目中所有的项目中心坐标
watch(() => store.state.map.pointList, (newVal) => {
  if (newVal && newVal.length > 0) {
  if (newVal) {
    pointCenter(viewer, newVal)
    clickPoint(viewer, newVal)
  }