UpdateEnd event for Map Control for ArcGIS for .NET (WP8.1)

3775
5
03-23-2015 02:00 AM
JeffersonLegaspi
New Contributor II

Hi!. I just want to ask if there is an event equivalent to UpdateEnd of javascript here on .NET? I would like to add loading image whenever the map is loading or rendering. Thank you

5 Replies
MichaelBranscomb
Esri Frequent Contributor

Hi,

The closest equivalent we have in the .NET API now is MapView.SpatialReferenceChanged, which tells you when the MapView is essentially initialized. API feedback on rendering progress is on the roadmap for the next major release.

Cheers

Mike

0 Kudos
JeffersonLegaspi
New Contributor II

Is it going to execute every time the map renders when i pan or zoom for example? Or one time only?

0 Kudos
AnttiKajanus1
Regular Contributor II

That occurs only when the spatial reference is set so in most of the applications that is only one time (in the beginning).

If you want to show indicator on every move/pan, currently there isn't easy way to do it if you have large variety of layer types in the map. If you are using service based FeatureLayers, you can use UpdateCompleted event on ServiceFeatureTable. If you are using local features, there shouldn't not be need for one.

JeffersonLegaspi
New Contributor II

How about Manipulation Started and Completed?

dotMorten_esri
Esri Frequent Contributor

That event just tells you when the user starts/stops touch interaction with the mapview.