⚡ if an event has geo coordinates, add links to routing on OSM, with correct place and zoom of 14, 3 buttons to get routig as car, bike, and by feet.
Signed-off-by: Baptiste Lemoine <contact@cipherbliss.com>
This commit is contained in:
@@ -238,6 +238,12 @@ type Tag {
|
||||
related: [Tag]
|
||||
}
|
||||
|
||||
"Instance map routing configuration"
|
||||
type Routing {
|
||||
"The instance's routing type"
|
||||
type: RoutingType
|
||||
}
|
||||
|
||||
"Language information"
|
||||
type Language {
|
||||
"The iso-639-3 language code"
|
||||
@@ -420,6 +426,9 @@ type Events {
|
||||
type Maps {
|
||||
"The instance's maps tiles configuration"
|
||||
tiles: Tiles
|
||||
|
||||
"The instance's maps routing configuration"
|
||||
routing: Routing
|
||||
}
|
||||
|
||||
"Search groups result"
|
||||
@@ -659,6 +668,14 @@ interface Interactable {
|
||||
url: String
|
||||
}
|
||||
|
||||
enum RoutingType {
|
||||
"Redirect to openstreetmap.org's direction endpoint"
|
||||
OPENSTREETMAP
|
||||
|
||||
"Redirect to Google Maps's direction endpoint"
|
||||
GOOGLE_MAPS
|
||||
}
|
||||
|
||||
"A struct containing the id of the deleted object"
|
||||
type DeletedObject {
|
||||
id: ID
|
||||
@@ -2856,7 +2873,7 @@ type PaginatedGroupList {
|
||||
total: Int
|
||||
}
|
||||
|
||||
"Instance tiles configuration"
|
||||
"Instance map tiles configuration"
|
||||
type Tiles {
|
||||
"The instance's tiles endpoint"
|
||||
endpoint: String
|
||||
|
||||
Reference in New Issue
Block a user