WholeProcessPlatform/frontend/src/components/gis/GisView.vue

47 lines
1.4 KiB
Vue
Raw Normal View History

2026-03-27 15:52:43 +08:00
<template>
2026-03-31 14:17:30 +08:00
<div class="gis-view">
<div id="mapContainer" />
<!-- 地图图例 -->
<!-- tabType="{baseType[0]?.tagType}"
legendData="{legendData}"
legendDataMap="{legendDataMap}"
setLegendDataMap="{updateLegendDataMap}"
dvtpType="{dvtpType}"
mapList="{mapList}"
loading="{loading}"
pointData="{pointData}" -->
<MapLegend />
<!-- 地图筛选器 -->
<MapFilter />
<!-- 地图控制器 -->
<MapController />
<!-- 基础图层切换器 -->
<BaseLayerSwitcher />
<!-- <MapFilter inverse={true} searchList={mapSearchList} pointData={pointData} fish={fish}
wqElementsList={wqElementsList} className={'map-filter'} initialValues={{ timeRange: searchTimeRange, dvtp: dvtpType, year: yearTime }}
getFormRef={(ref: any) => (mapFilterFormRef.current = ref)}
fetchPointData={fetchPointData} /> -->
</div>
2026-03-27 15:52:43 +08:00
</template>
2026-03-31 14:17:30 +08:00
<script setup lang="ts">
import MapLegend from "@/components/mapLegend/index.vue";
import MapFilter from "@/components/mapFilter/index.vue";
import MapController from "@/components/mapController/index.vue";
import BaseLayerSwitcher from "@/components/baseLayerSwitcher/index.vue";
</script>
2026-03-27 15:52:43 +08:00
<style lang="scss" scoped>
.gis-view {
2026-03-31 14:17:30 +08:00
width: 100%;
height: 100%;
position: absolute;
visibility: visible;
2026-03-27 15:52:43 +08:00
}
#mapContainer {
2026-03-31 14:17:30 +08:00
width: 100%;
height: 100%;
position: relative;
background-color: red;
2026-03-27 15:52:43 +08:00
}
</style>