Skip to content

Commit

Permalink
Add patrolled to map representation of run
Browse files Browse the repository at this point in the history
  • Loading branch information
russellporter committed Jan 19, 2023
1 parent a6fae96 commit ac723e0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/PrepareGeoJSON.int.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,7 @@ it("produces output for simple input", async () => {
"lit": null,
"name": "Oberauer Skiabfahrt",
"oneway": true,
"patrolled": null,
"skiAreas": Array [],
},
"type": "Feature",
Expand Down
1 change: 1 addition & 0 deletions src/features/RunFeature.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ export type MapboxGLRunProperties = {
oneway: boolean | null;
lit: boolean | null;
gladed: boolean | null;
patrolled: boolean | null;
color: string;
colorName: ColorName | null;
grooming: RunGrooming | null;
Expand Down
1 change: 1 addition & 0 deletions src/transforms/MapboxGLFormatter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ export function formatter(
oneway: properties.oneway,
lit: properties.lit,
gladed: properties.gladed,
patrolled: properties.patrolled,
color: properties.color,
colorName: properties.colorName,
grooming: properties.grooming,
Expand Down

0 comments on commit ac723e0

Please sign in to comment.