From 2d6a2168fa0b24be6eefc7bb1d4029917dcb68e8 Mon Sep 17 00:00:00 2001 From: helloxujingliang <3225043@qq.com> Date: Mon, 25 Nov 2024 11:42:44 +0800 Subject: [PATCH] merge --- src/views/sys/exception/LargeScreenMap/index.vue | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/views/sys/exception/LargeScreenMap/index.vue b/src/views/sys/exception/LargeScreenMap/index.vue index 37835ff1..237d4867 100644 --- a/src/views/sys/exception/LargeScreenMap/index.vue +++ b/src/views/sys/exception/LargeScreenMap/index.vue @@ -174,11 +174,11 @@ function handlerLoadPolygon(code="",filter="",type=""){ 'type': 'line', 'source': { type: 'vector', - tiles: [VITE_GLOB_API_URL_VAR.value+'/api/DroneCaseInfoSingle/QueryVectorTileByTable?z={z}&x={x}&y={y}&table=view_drone_shp_data&'+sql_filter+'&field=\"gid\",\"handle_status_id\",\"is_illegal\",\"measure_name\",\"typename\",\"Id\",'], + tiles: [VITE_GLOB_API_URL_VAR.value+'/api/DroneCaseInfoSingle/QueryVectorTileByTable?z={z}&x={x}&y={y}&table=view_drone_wfyd_map&'+sql_filter+'&field=\"gid\",\"handle_status_id\",\"is_illegal\",\"measure_name\",\"typename\",\"Id\",'], minzoom: 1, maxzoom: 20 }, - "source-layer": "view_drone_shp_data", + "source-layer": "view_drone_wfyd_map", 'layout': { 'line-join': 'round', 'line-cap': 'round', @@ -210,12 +210,12 @@ function handlerLoadPolygon(code="",filter="",type=""){ 'type': 'fill', 'source': { type: 'vector', - tiles: [VITE_GLOB_API_URL_VAR.value+'/api/DroneCaseInfoSingle/QueryVectorTileByTable?z={z}&x={x}&y={y}&table=view_drone_shp_data'+sql_filter+'&field=\"gid\",\"handle_status_id\",\"is_illegal\",\"measure_name\",\"typename\",\"Id\",'], + tiles: [VITE_GLOB_API_URL_VAR.value+'/api/DroneCaseInfoSingle/QueryVectorTileByTable?z={z}&x={x}&y={y}&table=view_drone_wfyd_map'+sql_filter+'&field=\"gid\",\"handle_status_id\",\"is_illegal\",\"measure_name\",\"typename\",\"Id\",'], // minzoom: 1, maxzoom: 20 }, - "source-layer": "view_drone_shp_data", + "source-layer": "view_drone_wfyd_map", 'filter':map_filter, 'layout':{ 'visibility':polygonVisibility.value, @@ -254,7 +254,7 @@ async function handlerDealPoint(code=""){ }else{ sql_filter="" } - let points = await getPolygonCenter({tablename:"view_drone_shp_data",filter:sql_filter,createtime:dayjs().subtract(30, 'day').format('YYYY-MM-DD')}) + let points = await getPolygonCenter({tablename:"view_drone_wfyd_map",filter:sql_filter,createtime:dayjs().subtract(30, 'day').format('YYYY-MM-DD')}) let heatdata = { type: "FeatureCollection", @@ -434,8 +434,8 @@ function handlerLoadHeatLayer(heatdata){ // 根据缩放等级设置热力图色彩 等级,热力图密度 'heatmap-radius': [ 'interpolate',['linear'],['zoom'], - 9,4.5, - 10,15, + 9,5.5, + 10,13, 12,24, 14,32, ],