Support for class.on() style events for the map, layers and tasks
Several classes in the API have been enhanced to support .on() style events, also referred to as evented. Specifically, esri/map as well as all classes in esri/layers and all esri/tasks now support class.on() style events. Classes in esri/dijit will have support for this style of event management at a future release.
Some samples have been updated to demonstrate the new .on() style event listening (as well as re-written to use AMD):
- Feature layer and a dgrid
- Feature layer from feature collection
- Gas price data
- Map with a popup
- Point clustering
- Show map properties
Please refer to the full What’s New in 3.5 for additional details on class.on() style events.
More samples that use Asynchronous Modules Definition(AMD)
Additional samples that have been re-written to use AMD:
- Customize navigation animation
- Manage multiple query results
- Non-Web Mercator tiled layer
- Popup with a chart
- Vector features in any projection
- Vector features with no basemap
The full What’s New in 3.5 also has a list of bug fixes and enhancements that we added at 3.5.