Skip to content

WebExtension which redirects geo: URIs to various map sites

License

Notifications You must be signed in to change notification settings

Andrew67/geo-handler

Repository files navigation

Geo URI Handler

Open geo: URIs in your preferred maps website

Supported destination map sites:

  • OpenStreetMap (default)
  • Google Maps
  • Bing Maps
  • Apple Maps (Beta)
  • Apple Maps (macOS only)
  • GeoHack
  • MapCompare

Supported URI examples:

  • geo:latitude,longitude - displays the given coordinates and places a marker at them
  • geo:latitude,longitude?z=zoom - overrides the default zoom
  • geo:latitude,longitude;z=zoom - same as above
  • geo:latitude,longitude?q=search+query - performs the given search query around the given coordinates (a marker is not displayed for the coordinates)
  • geo:0,0?q=search+query - uses the current or last viewed location as the center point for the search
  • Combinations of z and q are allowed with either ? and & (Android/unofficial) or ; (official) delimiters

Ignored parameters:

  • crs (always treated as wgs84)
  • u (always ignored)
  • geo:latitude,longitude,altitude (altitude is ignored)

Supported browsers:

  • Firefox 128+
  • Android already natively partially supports geo: URIs
    • Support varies by app, and Firefox for Android passes the URI directly to the OS, so this extension is not compatible

Licenses:

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

WebExtension which redirects geo: URIs to various map sites

Resources

License

Stars

Watchers

Forks

Packages

No packages published