From 9f5047ebac1143f2ab9641cf9b575b13b924139e Mon Sep 17 00:00:00 2001 From: Alexander Borsuk Date: Thu, 13 Apr 2023 12:28:48 +0200 Subject: [PATCH] Added more test links for omaps.app => api calls Signed-off-by: Alexander Borsuk --- public/test.html | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/public/test.html b/public/test.html index fa4967a..a0a418f 100644 --- a/public/test.html +++ b/public/test.html @@ -42,6 +42,9 @@ And let us know if something doesn't work.

Organic Maps links:

+ +

Show a point with an optional title on the map (used in sharing)

+
  1. om://o4B4pYZsRs
  2. om://o4B4pYZsRs/
  3. @@ -52,36 +55,81 @@
  4. https://omaps.app/o4B4pYZsRs
  5. https://omaps.app/o4B4pYZsRs/
  6. https://omaps.app/o4B4pYZsRs/Zoo_Zürich
  7. +
+ +

Show one or more points with titles on the map

+ +
  1. om://map?ll=1.1,1.2&n=Point1&ll=2.1,2.2&ll=-3.1,-3.2&n=Point3
  2. +
  3. + https://omaps.app/map?ll=1.1,1.2&n=Point1&ll=2.1,2.2&ll=-3.1,-3.2&n=Point3 +
  4. +
+ +

Build a route (car, foot, subway, bicycle)

+ +
  1. om://route?sll=50.183933,8.942871&saddr=Start%20Point&dll=49.998912,8.278198&daddr=EndPoint&type=vehicle
  2. +
  3. + https://omaps.app/route?sll=50.183933,8.942871&saddr=Start%20Point&dll=49.998912,8.278198&daddr=EndPoint&type=vehicle +
  4. om://route?sll=47.395084,8.552692&saddr=Start%20Point&dll=47.38568,8.566878&daddr=EndPoint&type=pedestrian
  5. +
  6. + https://omaps.app/route?sll=47.395084,8.552692&saddr=Start%20Point&dll=47.38568,8.566878&daddr=EndPoint&type=pedestrian +
  7. om://route?sll=47.325975,8.699972&saddr=Start%20Point&dll=47.374074,8.649849&daddr=EndPoint&type=bicycle
  8. +
  9. + https://omaps.app/route?sll=47.325975,8.699972&saddr=Start%20Point&dll=47.374074,8.649849&daddr=EndPoint&type=bicycle +
  10. om://route?sll=1.337412,103.696997&saddr=Start%20Point&dll=1.343107,103.732609&daddr=EndPoint&type=transit
  11. +
  12. + https://omaps.app/route?sll=1.337412,103.696997&saddr=Start%20Point&dll=1.343107,103.732609&daddr=EndPoint&type=transit +
  13. +
+ +

Search for something

+ +
  1. om://search?cll=47.3813,8.5889&locale=de&query=Mame
  2. +
  3. + https://omaps.app/search?cll=47.3813,8.5889&locale=de&query=Mame +
  4. om://search?locale=ru&query=Цюрих
  5. +
  6. + https://omaps.app/search?locale=ru&query=Цюрих +
  7. om://search?cll=47.3813,8.5889&query=restaurants
  8. +
  9. + https://omaps.app/search?cll=47.3813,8.5889&query=restaurants +
  10. om://search?query=Minsk
  11. +
  12. + https://omaps.app/search?query=Minsk +
  13. om://search?cll=47.3813,8.5889&query=restaurants&map=
  14. +
  15. + https://omaps.app/search?cll=47.3813,8.5889&query=restaurants&map= +

Geo url scheme