Add Geo link URIs (shared location in a message that automatically opens Pure Maps)
Hi,
Currently Geo link URIs are not supported in Pure Maps.
If someone shares his location with you, the link won't open Pure Maps. It seems there's no dispatcher within the app.
In Ubuntu Touch, I've tried to open a location link that I received in Teleport (Telegram client). But the link remained unresponsive.
Same link however automatically starts "Unav" app when installed.
See the end of this discussion: https://gitlab.com/ubports/development/apps/teleports/-/issues/199
I attach a picture below of a geo link in Teleports that is unresponsive.
Thank you beforehand.
Cheers,
Steve
As far as I remember, it does work on Sailfish. So, maybe something extra is needed in UT
Well, the guys from UT seem to say not, since it works well with Unav app.
That said, I'm almost sure it was also working with Pure Maps on UT a few years ago.
I will inform them to checkout again...
yes, it needs the configuration to tell Ubuntu Touch to handle geo urls
This is how unav does it: https://github.com/costales/unav/blob/master/app-dispatcher.json https://github.com/costales/unav/blob/master/manifest.json#L9
yes, it needs the configuration to tell Ubuntu Touch to handle geo urls
This is how unav does it: https://github.com/costales/unav/blob/master/app-dispatcher.json https://github.com/costales/unav/blob/master/manifest.json#L9
Thanks for the hint. I open a PR #696 with a similar change, but only with the geo protocol, as the other one seemed unav specific. How can I test it?
clicking a shared location in teleports and/or a location link should open puremaps
another test could be with https://gitlab.com/cibersheep/where which can generate a geo url if i understand it correctly
It works and has been merged. Will be included in the next release. Thanks to everyone involved!
Thank you very much! Awesome! Shall I close the issue?
I think it can still be optimized a bit, because currently when opening the app with a Geo link URI it opens the search bar with the cordinates, and needs one more click to actually see the place. It would be great to skip this search phase.
I just tried again to open the geographical link mentioned in the description of this issue: Pure Maps automatically opened on the location. I consider the problem solved and warmly thank the developers who resolved it! Great! I am therefore closing this issue.
If I may add an addition, it seems it works well if you open the app with a GeoUrI (and it was previously not running), but not if you call the app with a GeoUrI if the app is already running in background.
This can be a little issue when you use "Maps exporter" (from openstore).