diff --git a/components/Geopanel/Membershippanel.tsx b/components/Geopanel/Membershippanel.tsx index c448d38..faa9fc5 100644 --- a/components/Geopanel/Membershippanel.tsx +++ b/components/Geopanel/Membershippanel.tsx @@ -156,6 +156,12 @@ const Membershippanel = ({ selectedMemberFeatures, setSelectedMemberFeatures }: center: targetCentroid as [number, number], zoom: targetCentroid[0] > -74.15 && targetCentroid[1] < 41.05 ? 13 : 8 }) + + + map?.moveLayer("districts_outline", "members_label") + map?.moveLayer("districts_outline", "members") + map?.moveLayer("districts_clicked_outline", "members_label") + map?.moveLayer("districts_clicked_outline", "members") }) }) diff --git a/components/Map/Map.tsx b/components/Map/Map.tsx index 077985f..ebd8502 100644 --- a/components/Map/Map.tsx +++ b/components/Map/Map.tsx @@ -438,6 +438,8 @@ const Map = () => { m.moveLayer("districts_outline", "members_label") m.moveLayer("districts_outline", "members") + m.moveLayer("districts_clicked_outline", "members_label") + m.moveLayer("districts_clicked_outline", "members") })