What's new in 2.3

The 2.3 version of the ArcGIS API for WPF is now available. This topic includes an introduction to the updates and enhancements included in 2.3, a complete list of changes, items deprecated at 2.3, and the issues resolved between the 2.2 release and the 2.3 release.

ArcGIS Server 10.0 or later is required to utilize the new functionality included with versions 2.0 and later (that is, including 2.3) of the ArcGIS API for WPF. This includes editing, time-aware layers, closest facility, service areas, geometry service unions, and generalization. ArcGIS Server 9.3 and later is required for basic functionality included starting with the 1.x release, including basic mapping and query.

Updates and enhancements

The following enhancements are included in 2.3:

New web map content

ArcGIS Online can be used to create and share web maps that contain rich, detailed spatial information. The API now includes support for KML, WMS, and CSV by reference layers in a web map. In addition, bar, line, and pie charts configured in a web map as part of the map service item pop-up are now available in a data template for display and interaction on the client.

Enhanced KML layer

The KmlLayer was rebuilt as a GroupLayer (also new in 2.3) to better represent KML content. It includes support for nested folders (layers), setting visibility of layers, placemarks, ground overlays, regions, network links, auto-refresh on network links, and more. Support for display in the Legend control has also been added.

NoteNote:

KML is rendered using client logic; no service is required.

Auto-reprojection of graphics layers

GraphicsLayer and any layer that derives from it, such as GeoRssLayer and KmlLayer, can be reprojected on the fly. If the spatial reference of the Map is geographic World Geodetic System 1984 ([WGS84] WKID: 4326) or Web Mercator (WKID: 102100), reprojection will occur automatically on the client. If a graphics layer or map is in another spatial reference, you can use the ProjectionService property to reference a class that implements IProjectionService, such as the GeometryService task.

NoteNote:

Graphic feature geometry in the underlying data remains untouched; only the display of graphics is affected.

New PointDataSource as a graphics source

In version 2.2, the GraphicsLayer.GraphicsDataSource property provided a mechanism for binding a graphics layer to a collection of graphics. In version 2.3, the functionality has been enhanced with the addition of the GraphicsDataSource and PointDataSource classes. The GraphicsDataSource abstract class enables binding the GraphicsSource to a collection of items that contain geographic information and converting the items to graphics that can be rendered in a map. The PointDataSource class provides the implementation necessary to easily bind to items with attributes that reference location using X and Y values. This functionality caters to the use of Model View ViewModel (MVVM) design patterns. In general, the view (user interface [UI]) can bind to data (model) via a view-model, implemented in code-behind.

New client-side spatial operations

While ArcGIS Server maintains a geometry service to handle a number of spatial operations, the spatial operations require a request to a remote server. The API now contains a set of spatial operations available on the client. The static methods Density, Length, and Area on the ESRI.ArcGIS.Client.Geometry.Geodesic class calculate solutions on a spherical or curved surface. Input geometry must be in geographic coordinate space (for example, WGS84). Geodesic measurements usually provide the most accurate results. The same methods are available on the ESRI.ArcGIS.Client.Geometry.Euclidean class, but calculations assume a flat surface. Input geometry is usually in a projected coordinate system that references measured units, such as meters.

New GroupLayer

The API now contains a GroupLayer to consolidate any type and number of layers within a map. The legend will also respect and nest layers present within a group.

New WMTS layer

The Open Geospatial Consortium (OGC) provides a specification for tiled map services on the web (WMTS). Tiled map services hosted by ArcGIS Server 10.1 provide a WMTS interface to the map tiles. The API includes a new layer type, WmtsLayer, to support this format.

New GpsLayer

A new layer type for working with location services has been added in the ESRI.ArcGIS.Client.Toolkit.DataSources assembly. The GpsLayer is supported for use with .NET 4.0 on the Windows 7 platform. It uses active location sensors installed and functioning on a Windows 7 system. The layer displays the current location and accuracy on the map.

Additional changes

  • Both ArcGISDynamicMapServiceLayer and ArcGISTiledMapServiceLayer include two methods, GetDetail and GetAllDetails, for returning feature layer and table metadata in the respective service.
  • The Map control includes a Scale property, and feature layers respect the current map scale to determine when they should be retrieved and displayed (if Mode="OnDemand").
  • Layer time options can be set on ArcGISDynamicMapServiceLayers.
  • An Attribution control filters copyright details based on visibility of a layer.
  • ArcGISDynamicMapServiceLayer and ArcGISImageServiceLayer support using the Credentials property.
  • The ability to disable client cache is available for ArcGISImageServiceLayers.
  • FeatureDataGrid performance has been enhanced to improve the display and interaction with attribute and map data.
  • The FeatureDataGrid and FeatureDataForm support fields with coded value domains and subtypes.
  • WmsLayer includes support for display in the Legend control.
  • The Legend provides a public setter for LayerItemViewModel.IsMapLayer and LegendItemViewModel.Template properties.
  • SimpleFillSymbol added support for the following fill styles: BackwardDiagonal, ForwardDiagonal, Horizontal, and Vertical.
  • Geoprocessor task supports parameters appended to the Url property.

Deprecated items

The following classes and members have been deprecated in 2.3 and will be removed in version 3.0 of the API. See the library reference for more details.

Classes

  • DictionaryConverter
  • ScaleBar
  • SelectedToolbarItemArgs
  • Toolbar
  • ToolbarItem
  • ToolbarItemCollection

Members

  • ArcGISImageServiceLayer.InitialExtent
  • ArcGISImageServiceLayer.MapName
  • ArcGISImageServiceLayer.MinPixelSize
  • ArcGISImageServiceLayer.MaxPixelSize
  • ClassBreakRenderer.Attribute
  • CodedValueSource.Name
  • FeatureLayer.FeatureSymbol
  • FeatureLayer.Color
  • FeatureDataGrid.RefreshRow(Graphic graphic)
  • FindParameters.SpatialReferenceWKID
  • IdentifyParameters.SpatialReferenceWKID
  • LinearUnit.ScaleBarUnit
  • Magnifier.Initialize(ESRI.ArcGIS.Client.Map map)
  • Query.SpatialReferenceWKID
  • Toolbar.ToolbarIndexChangedHandler(object sender, SelectedToolbarItemArgs e)
  • Toolbar.ToolbarItemMouseEnter(object sender, SelectedToolbarItemArgs e)
  • Toolbar.ToolbarItemMouseLeave(object sender, SelectedToolbarItemArgs e)
  • UniqueValueMultipleFieldsRenderer.Attributes
  • UniqueValueRenderer.Attribute

Complete list of changes

For a complete list of changes in the API between versions 2.2 and 2.3, see the following assembly comparisons:

Resolved issues

The following issues are resolved in the 2.3 API:

Previous changes

For a complete list of what was updated in the prior version, see What's new in 2.2.

2/3/2012