更新 valve 图层,新增 pump、tank 图层;更新环境变量
This commit is contained in:
@@ -21,7 +21,11 @@ export const config = {
|
||||
12, // 在缩放级别 24 时,圆形半径为 12px
|
||||
],
|
||||
},
|
||||
// 添加其他配置项...
|
||||
MAP_AVAILABLE_LAYERS: process.env.NEXT_PUBLIC_MAP_AVAILABLE_LAYERS
|
||||
? process.env.NEXT_PUBLIC_MAP_AVAILABLE_LAYERS.split(",").map((item) =>
|
||||
item.trim().toLowerCase()
|
||||
)
|
||||
: ["junctions", "pipes", "valves", "reservoirs", "pumps", "tanks", "scada"],
|
||||
};
|
||||
export const NETWORK_NAME = process.env.NEXT_PUBLIC_NETWORK_NAME || "tjwater";
|
||||
export const MAPBOX_TOKEN =
|
||||
|
||||
Reference in New Issue
Block a user