ArcGIS API for Windows Phone - 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 IAttributionITileCache 
C# 
public class OpenStreetMapLayer : ESRI.ArcGIS.Client.TiledMapServiceLayer, IAttributionITileCache  

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.DependencyObject
      ESRI.ArcGIS.Client.Layer
         ESRI.ArcGIS.Client.TiledLayer
            ESRI.ArcGIS.Client.TiledMapServiceLayer
               ESRI.ArcGIS.Client.Toolkit.DataSources.OpenStreetMapLayer

Requirements

Target Platforms: Windows Vista, Windows 7

See Also

© ESRI, Inc. All Rights Reserved.