pure-maps icon indicating copy to clipboard operation
pure-maps copied to clipboard

Add Geo link URIs (shared location in a message that automatically opens Pure Maps)

Open stanwood77 opened this issue 9 months ago • 7 comments

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.

Image

Thank you beforehand.

Cheers,

Steve

stanwood77 avatar Mar 19 '25 16:03 stanwood77

As far as I remember, it does work on Sailfish. So, maybe something extra is needed in UT

rinigus avatar Mar 22 '25 19:03 rinigus

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...

stanwood77 avatar Mar 22 '25 21:03 stanwood77

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

Fuseteam avatar Mar 24 '25 12:03 Fuseteam

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?

jonnius avatar Mar 24 '25 19:03 jonnius

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

Fuseteam avatar Mar 26 '25 11:03 Fuseteam

It works and has been merged. Will be included in the next release. Thanks to everyone involved!

jonnius avatar Mar 30 '25 18:03 jonnius

Thank you very much! Awesome! Shall I close the issue?

stanwood77 avatar Mar 30 '25 23:03 stanwood77

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.

pparent76 avatar Oct 19 '25 10:10 pparent76

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.

stanwood77 avatar Nov 04 '25 23:11 stanwood77

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).

pparent76 avatar Nov 04 '25 23:11 pparent76