The following are new features in version 2.2 of the ArcGIS API for JavaScript.
The 2.2 API supports continuous pan across the dateline when working in the WGS84 geographic coordinate system or Web Mercator projected coordinate system.
The next release of the ArcGIS.com Map Viewer, slated for release within a matter of days, will allow you to define popups and save map notes inside the maps you build. When you reference an ArcGIS.com map ID in your JavaScript application, the popups and notes are immediately accessible. This allows you to design your popups interactively in ArcGIS.com instead of through code.
The 2.2 API offers an updated developer experience when working with info windows at 2.2 including:
At version 2.2, several widgets were enhanced to provide additional functionality.
Temporal rendering has been improved to support changing symbol size as time progresses.
The BasemapGallery was enhanced at version 2.2 to support building custom user interfaces. Sample
Version 2.1 of the JavaScript API supported iOS, and the Andriod 2.2 native browser. At 2.2 the API supports the new Blackberry Torch (6.0) native browser. Key widgets such as the zoom slider, time slider, and geometric editing tools now work better on touch screen devices. Several new samples that use mobile frameworks like jQuery Mobile and dojox.mobile were added to the help along with a new mobile site where you can explore the samples and code gallery on your iOS, Android, or Blackberry Torch smart phone.
Version 2.2 also includes a new Gallery widget that provides a touch-aware thumbnail gallery for mobile devices. The widget displays a horizontal scrolling view of thumbnail images. Sample
In addition to the new features, this release contains several bug fixes and enhancements: