Skip to content

Commit

Permalink
fix: Show area layer even when base layer is off
Browse files Browse the repository at this point in the history
  • Loading branch information
ptbrowne committed Sep 16, 2022
1 parent fe0b493 commit ef32571
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/charts/map/map.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ export const MapComponent = () => {

return new GeoJsonLayer({
id: "areaLayer",
beforeId: "water_polygon",
beforeId: showBaseLayer ? "water_polygon" : undefined,
// @ts-ignore - FIXME: properly type data & getFillColor fields
data: sortedShapes,
pickable: true,
Expand Down

0 comments on commit ef32571

Please sign in to comment.