Detecting pan/center change on GoogleMap

0
0

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

  • You must to post comments
Showing 0 results
Your Answer

Please first to submit.