更新环境变量;新增favicon

This commit is contained in:
JIANG
2025-11-10 14:51:14 +08:00
parent 929fafe9af
commit 20418ee9fe
8 changed files with 7 additions and 7 deletions

View File

@@ -529,7 +529,7 @@ const StyleEditorPanel: React.FC<StyleEditorPanelProps> = ({
const resetStyle = useCallback(() => {
if (!selectedRenderLayer) return;
// 重置 WebGL 图层样式
const defaultFlatStyle: FlatStyleLike = config.mapDefaultStyle;
const defaultFlatStyle: FlatStyleLike = config.MAP_DEFAULT_STYLE;
selectedRenderLayer.setStyle(defaultFlatStyle);
// 删除对应图层的样式状态,从而移除图例显示

View File

@@ -28,7 +28,7 @@ import { FiSkipBack, FiSkipForward } from "react-icons/fi";
import { useData } from "../MapComponent";
import { config, NETWORK_NAME } from "@/config/config";
import { useMap } from "../MapComponent";
const backendUrl = config.backendUrl;
const backendUrl = config.BACKEND_URL;
interface TimelineProps {
schemeDate?: Date;

View File

@@ -18,7 +18,7 @@ import StyleLegend from "./StyleLegend"; // 引入图例组件
import { handleMapClickSelectFeatures as mapClickSelectFeatures } from "@/utils/mapQueryService";
import { config } from "@/config/config";
const backendUrl = config.backendUrl;
const backendUrl = config.BACKEND_URL;
// 图层样式状态接口
interface StyleConfig {

View File

@@ -26,7 +26,7 @@ const Zoom: React.FC = () => {
const handleFitScreen = () => {
if (!map) return;
const view = map.getView();
view.fit(config.mapExtent, { duration: 500 });
view.fit(config.MAP_EXTENT, { duration: 500 });
};
return (