Skip to content

Commit

Permalink
Fix/classic districtr colors (#113)
Browse files Browse the repository at this point in the history
  • Loading branch information
mariogiampieri authored Sep 26, 2024
1 parent f9530ce commit 23c1869
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/src/app/constants/layers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ export const COUNTY_LAYER_IDS: string[] = [
export const LABELS_BREAK_LAYER_ID = "places_subplace";

const colorStyleBaseline: any[] = ["case"];
export const ZONE_ASSIGNMENT_STYLE_DYNAMIC = _colorScheme.reduce(

export const ZONE_ASSIGNMENT_STYLE_DYNAMIC = colorScheme.reduce(
(val, color, i) => {
val.push(["==", ["feature-state", "zone"], i + 1], color); // 1-indexed per mapStore.ts
return val;
Expand Down

0 comments on commit 23c1869

Please sign in to comment.