mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-08 06:22:53 +00:00
feat: add external directions referral
feat: change map page feat: add error handling and timeout to location fetching in directions resolves #124 resolves #122
This commit is contained in:
@@ -244,6 +244,25 @@
|
||||
}
|
||||
},
|
||||
"map": {
|
||||
"directions": {
|
||||
"TITLE": "Directions",
|
||||
"TITLE_LONG": "Directions to {{name}}",
|
||||
"ADDRESS": "{{streetAddress}}, {{addressLocality}} {{postalCode}}",
|
||||
"COPY_ADDRESS": "Copy Address",
|
||||
"ADDRESS_COPIED": "Address copied",
|
||||
"GOOGLE_MAPS": {
|
||||
"TITLE": "Google Maps",
|
||||
"URL": "https://www.google.com/maps/dir/?api=1&destination={{lat}},{{lon}}&origin={{posLat}},{{posLon}}"
|
||||
},
|
||||
"APPLE_MAPS": {
|
||||
"TITLE": "Apple Maps",
|
||||
"URL": "https://maps.apple.com/?daddr={{lat}},{{lon}}&saddr={{posLat}},{{posLon}}"
|
||||
},
|
||||
"OSM_ROUTING": {
|
||||
"TITLE": "OpenStreetMaps Routing",
|
||||
"URL": "https://routing.openstreetmap.de/?loc={{posLat}},{{posLon}}&loc={{lat}},{{lon}}&srv=2&hl=en"
|
||||
}
|
||||
},
|
||||
"page": {
|
||||
"TITLE": "Map",
|
||||
"search_bar": {
|
||||
|
||||
Reference in New Issue
Block a user