Skip to content

Map: no way to zoom into a drawn area #3027

Description

@rafaellehmkuhl

There is no gesture to frame a rectangle on the map and zoom to that area. Shift+drag box-zoom is easy to miss, middle-click does nothing useful, and touch devices have no equivalent at all (pinch only scales around the gesture).

Reproduce: on a desktop, middle-click and drag on the live map or the mission-planning map — the view does not zoom to the rectangle. On a phone or tablet, there is no way to draw an area to zoom into.

Root cause: neither Map.vue nor MissionPlanningView.vue bind an area-zoom gesture. Leaflet's optional boxZoom is Shift+drag only and is not wired for middle-click or a one-finger touch equivalent.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

mapnew-featureSomething Cockpit does not do yetuxHas to do with the user experience

Fields

Priority

None yet

Start date

None yet

Target date

None yet

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions