Add an URL dispatcher

Bug #1400132 reported by ybon
18
This bug affects 4 people
Affects Status Importance Assigned to Milestone
OSMTouch
New
Undecided
Unassigned

Bug Description

Resources:
- https://wiki.ubuntu.com/URLDispatcher
- https://code.launchpad.net/~ted/ubuntu-clock-app/url-dispatcher/+merge/201536

Not sure which protocol to expose: map://?

Not sure how conflict between URL dispatchers will be handled.

Not sure how other apps will now/decide to use such an URL protocol.

Revision history for this message
Sam Bull (dreamsorcerer) wrote :

You should expose the geo:// URI, which appears as:
    geo:<lat>,<lon>[,<alt>][;u=<uncertainty>]

http://en.wikipedia.org/wiki/Geo_URI

In addition, there is another (not yet official) URI, which is maps://:
    maps:q=<physical location>

https://www.iana.org/assignments/uri-schemes/prov/maps

I'm guessing the maps:// URI should just open the map with the parameter as a search term, while the geo:// URI gives an exact location, and the uncertainty parameter can be used to set the circle size similar to how the user's position is displayed.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.