Version 2.1 of the ArcGIS API for JavaScript released

Version 2.1 of the ArcGIS API for JavaScript is now available. To begin using it, just update the script and style sheet tags in your applications to point to version 2.1:

<script src="http://serverapi.arcgisonline.com/jsapi/arcgis/?v=2.1" type="text/javascript"></script>
<link href="http://serverapi.arcgisonline.com/jsapi/arcgis/2.1/js/dojo/dijit/themes/claro/claro.css" rel="stylesheet" type="text/css" >

Some of the new features are:

  • Three new out of the box widgets that can quickly make your sites look better without requiring a lot of code.
    Legend Widget

    Display a legend for the layers in the map.

    Scalebar Widget

    Add a scale bar to the map in metric or Imperial units.

    Basemap Gallery Widget

    Use the Basemap Gallery to provide a collection of potential basemaps for your application.

  • Support for Dojo 1.5, whose enhancements include a new theme (claro) and Dojo Mobile.
  • Enhanced touch-aware map control that now includes support for double-tap and muti-finger tap to zoom in and out on iOS devices.
  • Support for OGC Web Map Service (WMS). View the API reference and sample for more details.
  • Online SDK samples that highlight the new functionality. The Samples Overview page in the ArcGIS API for JavaScript Resource Center displays the newest samples first, so it’s a good way to quickly find the new samples.

For a complete list of enhancements and bug fixes, view the What’s new in Version 2.1 document.

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

Leave a Reply