ArcGIS Mapview decelerating/scrolling stop callback?

123
1
Jump to solution
11-19-2019 02:04 PM
HarishChopra
New Contributor

Hi all,

 

I want to save viewpoint coordinates when map view had end decelerating.

I tried observing viewport change callbacks and also KVO for "navigating" but these are called on every movement thus making it slow.

So please let me know if there is any KVO property that I can observe to get callbacks only when map view scrolling had stopped.

 

Thanks is advance,
Harish

Tags (2)
0 Kudos
1 Solution

Accepted Solutions
Nicholas-Furness
Esri Regular Contributor

isNavigating will only fire when the map starts or stops navigating, not continuously. So you should observe that and when it's set to false, you know the map has stopped moving.

See this question: https://community.esri.com/thread/242331-how-to-get-center-location-of-map-when-end-scrolling-in-arc... 

View solution in original post

0 Kudos
1 Reply
Nicholas-Furness
Esri Regular Contributor

isNavigating will only fire when the map starts or stops navigating, not continuously. So you should observe that and when it's set to false, you know the map has stopped moving.

See this question: https://community.esri.com/thread/242331-how-to-get-center-location-of-map-when-end-scrolling-in-arc... 

View solution in original post

0 Kudos