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
How about Manipulation Started and Completed?
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.
Is it going to execute every time the map renders when i pan or zoom for example? Or one time only?
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
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.