What's new in Version 1.4E-mail This Topic Printable Version Give Us Feedback

The following are new features in version 1.4 of the ArcGIS JavaScript API.

Microsoft Virtual Earth maps and geocoding

Version 1.4 allows for connections to Microsoft Virtual Earth map layers and geocoding. The Virtual Earth road and aerial maps can add detailed context to your Web applications, while the Virtual Earth geocoder can place points on the map from addresses or place names.

Virtual Earth services require a subscription, as well as an extra page configured on your Web server that allows you to get authentication tokens. See Getting started with Microsoft Virtual Earth in the ArcGIS JavaScript API to learn more.

New classes include:

Routing

The ArcGIS JavaScript API can now work with ArcGIS Server network analysis services to find routes and driving directions. The routing is done through the new Route Task and its associated classes. The Route Task makes it easy to do simple point-to-point routing and get driving directions. Because ArcGIS Network Analyst does the routing work on the server, you can also do complex routing that avoids barriers, complies with time windows, and finds the best path to multiple stops. For more information, see An overview of routing with the ArcGIS JavaScript API.

New classes include:

Renderers

A renderer defines how you symbolize a set of graphics. Previously with the ArcGIS JavaScript API, you had to symbolize each graphic separately as it was added to the map. Now you can choose to do the work with renderers that automatically supply symbology based on attributes in your data. The simple renderer, unique value renderer, and class breaks renderer included with Version 1.4 make it easier to do thematic mapping with the ArcGIS JavaScript API. For more information, see Symbolizing graphics with renderers.

New classes include:

Multiple graphics layers

Version 1.4 supports multiple graphics layers in the map, which makes it much easier to organize different types of graphics. For example, you can put polygon graphics representing counties in one graphics layer and point graphics representing traffic incidents in another graphics layer. Then you can easily add or remove either layer as needed.

Updated classes include:

Updates to Geometry classes

The following updates were made to the Geometry classes:

Changes to namespace classes

The following changes were made to namespace classes:

dojo.Deferred added as the return object to asynchronous task methods

The return object dojo.Deferred was added to asynchronous task methods. This object monitors the status of a request and manages the communication of asynchronous threads. Classes that have methods that return dojo.Deferred object include:

Performance improvements

Performance improvements in drawing vector graphics in Internet Explorer. Drawing graphics with polygons is approximately twice as fast at 1.4 as compared to earlier versions of the API.

Support for Dojo 1.3.1

When you reference the ArcGIS JavaScript API in your code, you also get a reference to version 1.3.1 of the Dojo Toolkit.

Bug fixes

The following are the identification numbers and summaries for bug fixes and enhancements in version 1.4: