-
Notifications
You must be signed in to change notification settings - Fork 0
Adventures Objects
Andrew Maclean edited this page Jun 23, 2024
·
20 revisions
{
type: 'FeatureCollection,
features: GeoJSONFeature[]
}| Key | Type | Description |
|---|---|---|
type |
"FeatureCollection" | |
features |
GeoJSON-Feature[] |
{
type: 'Feature,
geometry: {
type: 'Point' | 'LineString'
coordinates: [lng, lat] | [lng, lat][]
},
id: Int
properties: {
adventureType: adventureType
adventureName: String
color: String
}
}| Key | Type | Description |
|---|---|---|
type |
"Feature" | |
geometry |
Object | |
geometry.type |
`Point | Linestring` |
geometry.coordinates |
[Float, Float] | An array of two floats representing, longitude and latitude |
id |
Int | The feature id |
properties |
Object | |
properties.adventureType |
AdventureType | |
properties.adventureName |
String | The name of the adventure |
properties.color |
String | The line color portrayed on the map |
enum('ski' | 'climb' | 'hike' | 'bike' | 'skiApproach'){
lat: Float,
lng: Float
}[lng, lat]