notification when user moves map

3488
11
08-12-2015 01:46 AM
Armandvan_der_Zwan
New Contributor II

Hi all,

I can't seem to find a way to get notified when the user has moved the map.

I want to know this, because when he/she did, I don't want to update the map to the user location anymore.

Any idea's?

Armand.

0 Kudos
11 Replies
Nicholas-Furness
Esri Regular Contributor

Hey Armand van der Zwan​,

Take a look at lastChangeFromInteraction​ on AGSMapView (it's inherited from AGSMapViewBase).

When you receive the AGSMapViewDidEndPanningNotification or AGSMapViewDidEndZoomingNotification notification, check that and it should tell you what you want.​

Hope that helps,

Nick.

Nicholas-Furness
Esri Regular Contributor

Hey Armand van der Zwan​​,

Did my reply above fix your problem? If so, could you mark it as answered so others can find this please?

Cheers!

Nick.

0 Kudos