Map events in Javascript api 4.x

06-12-2019 10:52 PM
New Contributor II

I am migrating my applications from 3.x to 4.x but there are some events that I am not managing to find in 4.x such as map 'load' event, map 'zoom-end' event and map 'pan-end'.  Are these available in 4.x?

Tags (1)
0 Kudos
2 Replies
Esri Contributor

Hello Brian,
You can find the information about events following the links: MapView and SceneView.
With 4.x you can even watch the properties (Prior to 4.x, watching property changes were handled via events)

Also check the sample to get a feeling about the events and properties: 

And to not miss the migrating documentation:

Migrating from 3.x to 4.11 | ArcGIS API for JavaScript 4.11 

MVP Honored Contributor

I found this blog post to be helpful: