feat(map): manage agent overlays in layer panel
This commit is contained in:
@@ -103,7 +103,7 @@ test("shows data-dependent layer controls only when GeoServer reports features",
|
||||
const layerIds = globalThis.__waterNetworkMap?.getStyle().layers.map((layer) => layer.id) ?? [];
|
||||
return {
|
||||
valveLabel: layerIds.indexOf("workbench-value-label-valves"),
|
||||
simulationLabel: layerIds.indexOf("simulation-burst-label")
|
||||
simulationLabel: layerIds.indexOf("simulation-backend-analysis-label")
|
||||
};
|
||||
})).toMatchObject({
|
||||
valveLabel: expect.any(Number),
|
||||
@@ -113,7 +113,7 @@ test("shows data-dependent layer controls only when GeoServer reports features",
|
||||
const layerIds = globalThis.__waterNetworkMap?.getStyle().layers.map((layer) => layer.id) ?? [];
|
||||
return [
|
||||
layerIds.indexOf("workbench-value-label-valves"),
|
||||
layerIds.indexOf("simulation-burst-label")
|
||||
layerIds.indexOf("simulation-backend-analysis-label")
|
||||
];
|
||||
});
|
||||
expect(layerOrder[0]).toBeGreaterThanOrEqual(0);
|
||||
|
||||
Reference in New Issue
Block a user