Skip to content

Wrap around the date line in the map causes position issues #563

@lukasrad02

Description

@lukasrad02

When placing features in the map and then wrapping around the date line, OpenLayers shows the feature in the "second word", too (with the exception of the delete feature (trash bin) which disappears). However, the coordinates will be different.

Therefore, popups still show next to the "original" feature and might not be visible to the user.

The two flames in this image are the same feature. Dragging and moving one of the flames moves the second one, too.
Screenshot 2022-10-12 at 16-15-40 DigitalFuesimManv

When clicking any of the two flames, the popup always shows in this location and might be out of the viewport for higher zoom levels.
Screenshot 2022-10-12 at 16-15-54 DigitalFuesimManv

Since exercises are unlikely to span an area crossing the date line, it should be enough to prevent wrap around in OpenLayers completely.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BP2022HG1 - Low PriorityLegacyIssues that were created by the 2021 BPfrontendIssues mainly related to the frontend

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions