Monday, March 2, 2009

New version of ArcGIS Server JavaScript API released

ESRI has released a new version of JavaScript API for ArcGIS Server. This is version 1.3 and in this version notable changes are:

  • Support for Dojo 1.2.3 - Check out the details closely if you are using externally hosted Dojo v1.2.3.
  • Layer Extensibility - You can now create custom layer types for both tiled and dynamic services. And, you can also extend the associated based classes to support other layer types such as OGC WMS, and any tiled map service including ArcGIS Server 9.2 cached map services.
  • Error Handling - Now every layer and task has an onError event that returns more detail about the error in the callback function. For example now you you can get an error any time a graphics layer is unable to draw a graphic.
  • Enhanced Map Layer Management - You can add layers at specific indices in a map, and also remove layers from a map.

 
Other changes are listed on resource page for JavaScript API.

Some of the other changes include:
  • Map.setExtent(extent, fit?): The second optional parameter "fit" (Boolean) forces the map to fit the specified extent.
  • A FeatureSet constructor has been added for using JSON.
  • The Map's extent and spatial reference do not change even after all its layers have been removed. When the next layer is added, the layer is displayed at the same extent and spatial reference.
The following bugs are fixed:

  • NIM036432: [JSAPI] Need to support functionality to add custom resources to JS API
  • NIM035978: Graphic markers change position when panning the map in IE7
  • NIM037245: Calling map.resize() after map has been panned causes the drawing toolbar to draw graphics incorrectly. Graphics are offset based on the distance and direction of the pan
  • NIM039269: Need a way to trap errors from JS API that occur during the execution of a geoprocessing task in synchronous mode
  • NIM039287: onMouseMove event not firing for "older" graphics in IE when PictureMarkerSymbol is used for rendering
  • NIM039419: After adding a marker element to an ArcGIS Server JavaScript API map, the marker symbol moves when panning in Internet Explorer 6 and 7
  • NIM040669: When identifying a multipart point layer in Internet Explorer 7, the graphic selection is displaced visually after zoom operation.
  • NIM040840: Rubberband zoom graphic displays improperly in Internet Explorer 6 or Internet Explorer 7 after calling map.Resize
  • NIM041273: In JavaScript API v1.2, the graphics layer does not work properly in Internet Explorer 6 and 7 
  • NIM041482: Map applications keep downloading a non-existant picture/file when some action, e.g., toggling map layers, is done on the map (using IE)

No comments:

Post a Comment