Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enable remote control #235

Closed
dieterdreist opened this issue May 26, 2019 · 5 comments
Closed

enable remote control #235

dieterdreist opened this issue May 26, 2019 · 5 comments

Comments

@dieterdreist
Copy link

Would it be complicated to have goMap work with the osm.org remotecontrol feature? Has it to do with #164 ?

@wtimme
Copy link
Contributor

wtimme commented Dec 6, 2019

Hey @dieterdreist, I just had a quick look at the JavaScript on osm.org. Looks like it uses an iFrame with the address http://127.0.0.1:8111/load_and_zoom?. From the documentation of JOSM it looks like JSOM runs a local server at port 8111 and listens for these calls. From my experience, this is not the way websites interact with apps. Rather, they use deeplinks (e. g. osm://load_and_zoom?, where the app registers itself as a handler for osm://) or an associated domain (#164), the latter which is Apple's preferred way of handling this scenario.

@dieterdreist
Copy link
Author

Thank you, @wtimme
If I recall correctly, some time ago Bryce had asked over at website@osm whether they would be willing to put something on the site so that it became an associated domain.

I have found this openstreetmap/openstreetmap-website#985
(maybe not helpful, but related), and of course this: openstreetmap/openstreetmap-website#1478

@wtimme
Copy link
Contributor

wtimme commented Jan 1, 2020

I did some more digging, and noticed that with openstreetmap/openstreetmap-website#994, the geo: share link was introduced. As far as I can tell, it allows the sharing of the map's current center coordinate as well as the zoom level. In the Simulator, the URL was passed to GoMap and parsed correctly.

Since personally, I am using either GoMap on my iOS device or iD on my MacBook, I don't know exactly what the usecase of the "enable remote control" feature is. Could you briefly outline how you would use this? That would help me understand better what is required here. Thanks in advance for your effort!

@dieterdreist
Copy link
Author

The remote control lets you edit the part of the map you are looking at in OpenStreetMap.org
It is a convenience feature so you can fix problems you notice while looking at the map or a feature in the map.
Naturally, edit with GoMap!! would only make sense if you’re on iOS and have the app installed

@bryceco
Copy link
Owner

bryceco commented Jul 20, 2020

#164 is the way forward on this issue.

@bryceco bryceco closed this as completed Jul 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants