ArcGIS API for JavaScript Version 3.9 Released

Version 3.9 of the ArcGIS API for JavaScript is now available! Below is a complete listing of new features, enhancements and bug fixes included in this release. The same information is available in the What’s New in 3.9 page in the SDK.

CSV Layer

New CSVLayer class to easily display data from CSV files on a map. See the CSV Layer sample for an example of how to use this new layer. If CSV files are not on the same domain as your website, a CORS enabled server or a proxy is required.

Query Enhancements

New capabilities when querying against a layer in a hosted feature service in ArcGIS Online:

Continuous Color

Renderers’ colorInfo property and setColorInfo method now support more than two colors as well as a stops property that allows developers to associate a specific color with a data value. The legend widget also now supports renderers with colorInfo. Two samples have been updated to use this new functionality:

In addition to continuous color ramps, the esri/Color module was added at this release. It is a convenient wrapper around dojo/_base/Color and has all options supported by dojo/_base/Color.

Additional Changes and Enhancements

  • Edit tools: new textSymbolEditorHolder option to specify container for text symbol editing components.
  • All layers have a loadError property indicating if an error occurred while trying to retrieve layer metadata.
  • LocateButton.graphicsLayer option to specify the graphics layer where the associated graphic should be added.
  • Map has a new before-unload event.

Additional Resources on GitHub

New repository on GitHub with TypeScript definitions for the JS API as well as the jshint options file used by the JS API team.

Dojo

Version 3.9 of the ArcGIS API for JavaScript uses Dojo 1.9.1 as well as version 0.3.11 of dgrid, 0.3.5 of put-selector and 0.1.3 of xstyle.

This entry was posted in App Developers, Developer and tagged , . Bookmark the permalink.

Leave a Reply

9 Comments

  1. bpatroy says:

    Thanks for taking on the Typescript types definition file!!!
    Can we expect a Nuget package from you guys as well?

  2. bmwgsbill says:

    This is great. Any news as to when the beta version of the Javascript Application builder will be coming out?

  3. bpatroy says:

    Hi – could you please make the 3.9 version available on the download page: http://www.esri.com/apps/products/download/index.cfm?fuseaction=download.all#ArcGIS_API_for_JavaScript ?
    Last check around 12 Noon CST showed version 3.8 as the latest available – no links for 3.9…
    Thanks

  4. Jim Sibbald says:

    My enquiry is the same as bpatroy. Do you know when 3.9 will be available for download?

  5. kelly says:

    We are working on the download and hope to have it ready early next week. We’ll post an update here and in the discussion forum when it is available.