ArcGIS API for JavaScript Version 3.3 Released

Version 3.3 of the ArcGIS API for JavaScript is now available! Please refer to the What’s New in 3.3 document for the full list of features and bug fixes. Highlights include:

New geocoder widget

Add a geographic search box to your app with a couple of lines of code. The widget defaults to the ArcGIS Online World Geocoding Service but can be customized to use one or more ArcGIS Server geocoding services.

New map constructor options

The map class has new constructor options that can help you get your map set up using less code.

  • basemap: ArcGIS.com basemap, such as “streets”, “satellite”, “osm”, etc.
  • center: Array of two coordinates (longitude, latitude) or an esri.geometry.Point.
  • zoom: Starting zoom level for the map.
  • minZoom: Smallest scale zoom level for the map.
  • maxZoom: Largest scale zoom level for the map.

The map now auto-resizes so it is no longer necessary to set up an event listener for resize events on the map’s container to call map.resize when a map’s container resizes.

Below is a comparision of pre-3.3 code and equivalent 3.3 code.

New Samples

Check out the Latest Samples category for a list of the ten or so samples added to the SDK at this release.

Re-designed SDK Site

The site that hosts the conceptual help, API reference and samples has been given a facelift. It is now easier to link to individual help topics, API classes and samples. A specific tutorials section has been added as well.

Plus More…

As with every release, the latest version of the ArcGIS API for JavaScript includes several bug fixes. Please refer to the full What’s New in 3.3 document for the full list of updates and fixes.

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

Leave a Reply

4 Comments

  1. jacobsj says:

    The map now auto-resizes so it is no longer necessary to set up an event listener for resize events on the map’s container to call map.resize when a map’s container resizes.

    That’s great news!

  2. rahyab says:

    There is a problem with this release. When building arcgis application with dojo build system (arcjis jsapi 3.3 is installed locally) — I see tons of errors on a console:

    error(354) Root bundle indicates localized bundles that don’t exist.
    Root: esri/dijit/nls/AttributeInspector-all_en-gb; missing bundles: ‘dijit/_editor/nls/commands’,'dijit/form/nls/ComboBox’,'dojo/cldr/nls/islamic’.
    Root: esri/dijit/editing/nls/Editor-all_tr; missing bundles: ‘dijit/_editor/nls/commands’,'dijit/form/nls/ComboBox’,'dojo/cldr/nls/islamic’.
    Root: esri/nls/jsapi_ca; missing bundles: ‘dijit/form/nls/validate’,'dijit/nls/common’,'dijit/nls/loading’,'dojo/cldr/nls/gregorian’,'dojo/cldr/nls/number’,'esri/nls/jsapi’.

    There are 128 errors like that. Can somebody take a look and see what is going on. When using arcgis jsapi 3.2 everything is ok. Thanks a lot.

  3. sfisher says:

    Are there licensing costs associated with using this geocoder service? Or is it free for any application, including an internal enterprise application.

  4. danrios says:

    I need to learn JavaScript for ARCGIS any suggested reading?
    Thank you
    Dan