Skip to content

Feature Request: Change visible portion of the map #49

Description

@nikischin

I would like to change the visible portion of the map after the map initially rendered.

https://github.com/Nicolapps/mapkit-react/blob/main/support.md#visible-portion-of-the-map-1

One example where this could be useful:
I render a map with only one marker, which is draggable.
On dragEnd, I would like to update the center of the map to be the position of the moved marker. Also I might want to adjust the zoom level and zoom back to the default level after the user finished moving the marker. I would like to also have the option to decide, if this changes happen with a animation of not.

https://developer.apple.com/documentation/mapkitjs/map/2973936-setregionanimated

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions