ArcGIS API for WPF - Library Reference
OpenStreetMapLayer Class
Members  See Also  Send comments on this topic
ESRI.ArcGIS.Client.Toolkit.DataSources Namespace : OpenStreetMapLayer Class

OpenStreetMap tiled layer. Note, use of the OpenStreetMapLayer in your map application requires attribution. Please read the usage guidelines for using OpenStreetMap tile layers in your application.

Object Model

OpenStreetMapLayer ClassEnvelope ClassSpatialReference ClassTileInfo Class

Syntax

Visual Basic (Declaration) 
Public Class OpenStreetMapLayer 
   Inherits ESRI.ArcGIS.Client.TiledMapServiceLayer
   Implements IAttribution 
C# 
public class OpenStreetMapLayer : ESRI.ArcGIS.Client.TiledMapServiceLayer, IAttribution  

Remarks

To use an OpenStreetMap tile layer in your map, add the OpenStreetMapLayer, select a style, and add attribution.

            <esri:Map x:Name="MyMap">
                <esri:OpenStreetMapLayer Style="Mapnik" />
            </esri:Map>
<esri:Attribution Layers="{Binding ElementName=MyMap, Path=Layers}" />

When including the OpenStreetMapLayer in your map application, you must also include attribution. For the latest information, please read the usage guidelines for using OpenStreetMap tile layers in your application.

OpenStreetMap is released under the Create Commons "Attribution-Share Alike 2.0 Generic" license.

Inheritance Hierarchy

System.Object
   System.Windows.Threading.DispatcherObject
      System.Windows.DependencyObject
         ESRI.ArcGIS.Client.Layer
            ESRI.ArcGIS.Client.TiledLayer
               ESRI.ArcGIS.Client.TiledMapServiceLayer
                  ESRI.ArcGIS.Client.Toolkit.DataSources.OpenStreetMapLayer

Requirements

Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© ESRI, Inc. All Rights Reserved.