Deeper links to Comaps/Osmand/...
publié le , mis à jourCartes.app won't cover all the use case perfectly covered by these apps.
E.g. for car navigation, we do not have this on our roadmap. A navigation mode would not be difficult to launch as a v1, but it would miss all the Android Auto and similar optimizations that Organic Maps is working on for years !
The best thing would be to direct the user to them.
Should we open a link with A->B in the URL ? How does it work ?
What about other features of these apps not covered, how to inform the user about them ?
See our wiki entry about Organic Maps #831
laem
⌚️1 day
laem
@westnordost if you think of some ways to direct cartes.app users to StreetComplete, that would be cool ! I don't have any precise idea but we can probably find some.
GhostMe neither.
laem
- The first step is done : a comaps style in cartes.app. See !1699 to make it even better
laem
@jeanbaptistec, do you know if it's easy to open an itinerary link from a website to open Comaps on mobile ?
From cartes.app, it's easy to download the GPX. But then, opening them in Comaps on my Android has multiple UX problems :
- the GPX is added as a favorite but the map doesn't zoom on it
- the GPX becomes a trace, not an itinerary : what we want here is for Comaps to handle navigation from A to B with the chosen mode (car, walk, bike), including intermediate points if possible
Is there some kind of Android intent URL that would trigger this ? Is it easy to implement on your side ?
jeanbaptisteC
You can find more details about our api here
About gpx, zoom is applied only when users select it in the list, because I think it's not easy to manage to zoom on places or tracks if users import multiple tracks or favorites during the same import Use gpx like a route is the most asked feature https://codeberg.org/comaps/comaps/issues/251 but for now anyone members or contributors work on this feature.
laem
Oh yeah, found it ! https://comaps.at/api
Done ! For now, we'll limit this link to Comaps only, as per the idea that cartes.app is for the general public, whereas Osmand is more for more technical users.
laem
@jeanbaptisteC je crois qu'ouvrir une fois après l'autre un intent fait planter Comaps.
jeanbaptisteC
Ca fonctionne bien de mon côté t'as un exemple?