Skip to content

Detecting pan/center change on GoogleMap #1492

Description

@itg-assistant

Andrew Niese asked 2018-04-19 19:36:15 UTC

I have a method to change GoogleMap to satellite view --- it updates the .Options property. However this re-centers the map to the last location that .CenterMap() was called. Guessing because it reloads the options.center property, which hasn't changed even though the the user panned.

If I had the current map location, I could pass it into .options to avoid the map moving.

As an enhancement, could you add an event to detect when the center of the map changes, or the user pans to a different location? The MapPropertyChanged event currently fires when zoom changes, but not location.

Thanks,

Andrew

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

    New FeatureA capability that does not exist yet.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions