generated from amosproj/amos202Xss0Y-projname
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Emil Balitzki <[email protected]>
- Loading branch information
Showing
5 changed files
with
33 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,26 @@ | ||
/** | ||
* A response object from the location endpoint. | ||
*/ | ||
export interface LocationDataResponse { | ||
individualData: DatasetItem[]; | ||
selectionData: DatasetItem[]; | ||
} | ||
|
||
export interface SubdataItem { | ||
key: string; | ||
value: string; | ||
} | ||
|
||
/** | ||
* A single dataset row visible in the data view. | ||
*/ | ||
export interface DatasetItem { | ||
displayName: string; | ||
value: string | null; | ||
datasetID: string | null; | ||
coordinate: number[] | null; | ||
subdata: SubdataItem[]; | ||
} | ||
|
||
/** | ||
* Sub rows for the data view and the dataset row. | ||
*/ | ||
export interface SubdataItem { | ||
key: string; | ||
value: string; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,11 @@ | ||
// Enum for types of markers | ||
/** | ||
* Enum for the types of markers for individual datasets. | ||
*/ | ||
export enum MarkersTypes { | ||
Markers = "markers", // Map will display single coordinates with markers on top. | ||
Areas = "areas", // Map will display polygon areas. | ||
None = "none", // Map will not display anything. | ||
// Map will display single coordinates with markers on top. | ||
Markers = "markers", | ||
// Map will display polygon areas. | ||
Areas = "areas", | ||
// Map will not display anything. | ||
None = "none", | ||
} |