[openstreetmap/openstreetmap-website] Support android intent uri for JOSM style remote control (#1478)

wtimme notifications at github.com
Mon Oct 29 22:33:53 UTC 2018


> that actually works modulo a bit of bitrot

Sorry, I don't know this expression. Do you mean that it bloats the software? 🤔

> For GoMap!! the question is if we can supply a bounding box or similar as a parameter in the URL or not, without that it doesn't make a lot of sense.

Yes, Universal Deeplinks are passed to the iOS app in a whole, including the anchor (`#`) tag. As far as I remember, however, the corresponding parsing isn't in place yet. That's something that needs to be done on the iOS side.

As far as "one Universal Link for all platforms", I don't know if anchor tags reach the server-level where a HTTP redirect would typically be implemented.
So maybe we need to provide the lat and lon via query parameters, e. g. `https://launch.openstreetmap.org/edit?lat=53.55210&lon=9.99340&zoom=19`

### Expected behaviour

Just to make it clear, here's what I understood:

- When visiting the URL on an iOS device with "Go Map!!" installed, "Go Map!!" should launch and zoom in on the bounding box.
- When visiting the URL on an iOS device and does not have "Go Map!!" installed, the browser (e. g. Safari) should open the URL. _launch.openstreetmap.org_ should redirect the user to `https://www.openstreetmap.org/edit#map=19/53.55210/9.99340`.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/1478#issuecomment-434105873
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20181029/780fc168/attachment.html>


More information about the rails-dev mailing list