Skip to content
This repository has been archived by the owner on Mar 8, 2023. It is now read-only.

Commit

Permalink
MINOR: Update data source polygon example: Implement Brexit. (#1411)
Browse files Browse the repository at this point in the history
Signed-off-by: Marcel Pursche <marcel.pursche@here.com>
  • Loading branch information
MPursche committed Mar 25, 2020
1 parent 0d937c8 commit 0e9f37f
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions @here/harp-examples/src/datasource_features_polygons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ export namespace PolygonsFeaturesExample {
const statesGroup = [
["france", "belgium", "netherlands", "italy", "luxembourg"],
["algeria"],
["ireland", "uk", "denmark"],
["ireland", "denmark"],
["greenland"],
["greece"],
["spain", "portugal"],
Expand All @@ -376,16 +376,18 @@ export namespace PolygonsFeaturesExample {
"malta"
],
["romania", "bulgaria"],
["croatia"]
["croatia"],
["uk"]
];
const UE = {
"1957": {
joining: [0, 1, 6],
leaving: [2, 3, 4, 5, 7, 8, 9, 10, 11] // Remove other country groups when looping.
// Remove other country groups when looping.
leaving: [2, 3, 4, 5, 7, 8, 9, 10, 11, 12]
},
"1962": { leaving: [1], joining: [] },
"1973": {
joining: [2, 3],
joining: [2, 3, 12],
leaving: []
},
"1981": {
Expand All @@ -401,7 +403,8 @@ export namespace PolygonsFeaturesExample {
leaving: []
},
"2007": { joining: [10], leaving: [] },
"2013": { joining: [11], leaving: [] }
"2013": { joining: [11], leaving: [] },
"2020": { joining: [], leaving: [12] }
};
return { steps: UE, statesGroup };
}
Expand Down

0 comments on commit 0e9f37f

Please sign in to comment.