orblivion / desert-atlas

Other
7 stars 1 forks source link

Try to detect support for map:// (opening markers in external app) #15

Open orblivion opened 1 year ago

orblivion commented 1 year ago

In the long run it would be nice if we could somehow detect client-side if map:// would work on the given system. Seems like there's maybe something doable on this front for geo://, looking at the comments here, so maybe there's something for map:// as well:

https://stackoverflow.com/questions/19787100/detecting-geo-uri-support

Don't need this for launch.

We probably want to implement #14 first. Until we do, geo:// link will always show up. Ideally we want either geo:// or map:// to show up as is ideal.

See https://github.com/orblivion/sandstorm-share-a-map/issues/2