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?
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): https://developers.arcgis.com/javascript/latest/guide/working-with-props/index.htmlAlso check the sample to get a feeling about the events and properties:
https://developers.arcgis.com/javascript/latest/sample-code/event-explorer/index.html
https://developers.arcgis.com/javascript/latest/sample-code/watch-for-changes/index.html
And to not miss the migrating documentation:
Migrating from 3.x to 4.11 | ArcGIS API for JavaScript 4.11
I found this blog post to be helpful: https://odoe.net/blog/quick-tip-arcgis-api-4-js-stuff-ready/
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.