Skip to content

Pass map extent when "Opening on OpenStreetMap" #340

@zstadler

Description

@zstadler

When opening an element on OpenStreetMap, it would be helpful to keep the current map location and zoom in the OpenStreetMap page. This is especially valuable for relations that span a large area or length.

For example:

  1. Focus on the North East corner of relation 282072
    Image
  2. Click on "Open relation on OpenStreetMap".
  3. The OpenStreetMap is focused on the entire relation.
    Image

I suggest that "Open relation on OpenStreetMap" links will contain the current map extent of FacilMap.

In the above example, FacilMap address bar shows the current map location and zoom as 18/-0.97066/-80.82401. In that case, "Open relation on OpenStreetMap" would use https://www.openstreetmap.org/relation/282072#map=18/-0.97066/-80.82401

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions