Newer
Older
KaiFengPC / src / views / floodSys / floodYP / riskGisMap.vue
@zhangdeliang zhangdeliang on 23 May 614 bytes 初始化项目
<template>
  <!--内涝风险评估 GIS地图 -->
  <div class="riskMapGis">
    <MapBox :initJson="`/static/libs/mapbox/style/lateWarn.json`" :loadCallback="loadCallback"></MapBox>
  </div>
</template>

<script setup name="riskMapGis">
import MapBox from '@/views/gisMapPage/gisMapBox1'; //gis地图
const { proxy } = getCurrentInstance();
const allData = reactive({});
const emits = defineEmits();
const loadCallback = () => {
  emits('loadCallback');
};
onMounted(() => {});
</script>
<style lang="scss">
.riskMapGis {
  width: 100%;
  height: calc(100vh - 120px);
  background: rgba(0, 0, 0, 0.05);
}
</style>