ArcGIS Runtime SDK for WPF - Library Reference
OpenStreetMapLayer Class Members
See Also  Fields  Properties  Methods  Events
ESRI.ArcGIS.Client.Toolkit.DataSources Namespace : OpenStreetMapLayer Class


The following tables list the members exposed by OpenStreetMapLayer.

Public Constructors

 NameDescription
public ConstructorOpenStreetMapLayer ConstructorInitializes a new instance of the OpenStreetMapLayer class.  
Top

Public Fields

 NameDescription
public Fieldstatic (Shared in Visual Basic)StylePropertyIdentifies the Style dependency property.  
public Fieldstatic (Shared in Visual Basic)TileServersPropertyDependency property for TileServers.  
Top

Public Properties

 NameDescription
public PropertyAttributionTemplateGets the attribution template of the layer. (Inherited from ESRI.ArcGIS.Client.Toolkit.DataSources.WebTiledLayer)
public PropertyBrightnessSet layer brightness level (accelerated display only) Valid range: -1 to 1. Default: 0 (Inherited from ESRI.ArcGIS.Client.TiledLayer)
public PropertyContrastSet layer contrast level (accelerated display only) Valid range: 0 to 1. Default: 1 (Inherited from ESRI.ArcGIS.Client.TiledLayer)
public PropertyCopyrightTextGets or sets the attribution to the Web Tiled Layer provider. (Inherited from ESRI.ArcGIS.Client.Toolkit.DataSources.WebTiledLayer)
public PropertyDependencyObjectTypeGets the System.Windows.DependencyObjectType that wraps the CLR type of this instance. (Inherited from System.Windows.DependencyObject)
public PropertyDispatcherGets the System.Windows.Threading.Dispatcher this System.Windows.Threading.DispatcherObject is associated with. (Inherited from System.Windows.Threading.DispatcherObject)
public PropertyDisplayNameGets or sets the display name. Display name is used in printing and legend control. (Inherited from ESRI.ArcGIS.Client.Layer)
public PropertyEffectGets or sets the pixel shader effect to use for rendering this ESRI.ArcGIS.Client.Layer. (Inherited from ESRI.ArcGIS.Client.Layer)
public PropertyFullExtentThe full extent of the layer (Inherited from ESRI.ArcGIS.Client.Layer)
public PropertyGammaSet layer gamma level (accelerated display only). Valid range: -100 to 100. Default: 0 (Inherited from ESRI.ArcGIS.Client.TiledLayer)
public PropertyIDGets or sets the layer ID (Inherited from ESRI.ArcGIS.Client.Layer)
public PropertyInitializationFailureGets or sets the initialization failure if the initialization failed. (Inherited from ESRI.ArcGIS.Client.Layer)
public PropertyIsInitializedReturns true if the layer has been initialized. (Inherited from ESRI.ArcGIS.Client.Layer)
public PropertyIsSealedGets a value that indicates whether this instance is currently sealed (read-only). (Inherited from System.Windows.DependencyObject)
public PropertyLevelValuesGets or sets the level values to use when replacing the {level} parameter in the TemplateUrl. This optional property is useful when the TemplateUrl is expecting non numeric level values. This is maily used for the WMTS layers that are converted to WebTiledLayers when added to a webmap. The WMTS layers may use non numeric level values. (Inherited from ESRI.ArcGIS.Client.Toolkit.DataSources.WebTiledLayer)
public PropertyMaximumResolutionGets or sets the maximum resolution (map units per pixel) where this layer is visible. (Inherited from ESRI.ArcGIS.Client.Layer)
public PropertyMinimumResolutionGets or sets the minimum resolution (map units per pixel) where this layer is visible. (Inherited from ESRI.ArcGIS.Client.Layer)
public PropertyOpacityGets or sets the layer opacity (Inherited from ESRI.ArcGIS.Client.Layer)
public PropertyShowLegendGets or sets a value indicating whether to show legend. (Inherited from ESRI.ArcGIS.Client.Layer)
public PropertySpatialReferenceGets the default spatial reference of the layer. (Inherited from ESRI.ArcGIS.Client.Layer)
public PropertyStyleGets or sets the map style. This property is ignored if the TileServers Property is set.  
public PropertySubDomainsGets or sets the sub domains. The sub domain values are used to replace the {subDomain} parameter in the WebTiledLayer.TemplateUrl. (Inherited from ESRI.ArcGIS.Client.Toolkit.DataSources.WebTiledLayer)
public PropertyTemplateUrlGets or sets the template URL to the Web Tiled Layer. The template url contains a parameterized url. The template can contain the following templated parameters: {subDomain}, {level}, {row} and {col}.

Example of OpenStreetMap template URL: http://{subDomain}.tile.opencyclemap.org/cycle/{level}/{col}/{row}.png

(Inherited from ESRI.ArcGIS.Client.Toolkit.DataSources.WebTiledLayer)
public PropertyTileInfoGets or sets the tiling scheme. (Inherited from ESRI.ArcGIS.Client.TiledLayer)
public PropertyTileServersGets or Sets the tile servers to use when requesting tiles. If the TileServers Property is set the Style Property will be ignored.  
public PropertyVisibleGets or sets the visibility of the layer (Inherited from ESRI.ArcGIS.Client.Layer)
public PropertyVisibleTimeExtentGets or sets the time extent where this layer is visible. (Inherited from ESRI.ArcGIS.Client.Layer)
Top

Public Methods

 NameDescription
public MethodClearValueOverloaded. Clears the local value of a property. The property to be cleared is specified by a System.Windows.DependencyProperty identifier. (Inherited from System.Windows.DependencyObject)
public MethodCoerceValueCoerces the value of the specified dependency property. This is accomplished by invoking any System.Windows.CoerceValueCallback function specified in property metadata for the dependency property as it exists on the calling System.Windows.DependencyObject. (Inherited from System.Windows.DependencyObject)
public MethodDisposePerforms application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from ESRI.ArcGIS.Client.TiledLayer)
public MethodEquals (Inherited from System.Windows.DependencyObject)
public MethodGetHashCodeGets a hash code for this System.Windows.DependencyObject. (Inherited from System.Windows.DependencyObject)
public MethodGetLocalValueEnumeratorCreates a specialized enumerator for determining which dependency properties have locally set values on this System.Windows.DependencyObject. (Inherited from System.Windows.DependencyObject)
public MethodGetTileUrlOverridden. Returns a URL to the specified tile in an OpenStreetMapLayer.  
public MethodGetValueReturns the current effective value of a dependency property on this instance of a System.Windows.DependencyObject. (Inherited from System.Windows.DependencyObject)
public MethodInitializeInitializes the resource. (Inherited from ESRI.ArcGIS.Client.Toolkit.DataSources.WebTiledLayer)
public MethodInvalidateProperty (Inherited from System.Windows.DependencyObject)
public MethodReadLocalValueReturns the local value of a dependency property, if it exists. (Inherited from System.Windows.DependencyObject)
public MethodRefreshClears all tiles from the layer and redraws it. (Inherited from ESRI.ArcGIS.Client.TiledLayer)
public MethodSetCurrentValue (Inherited from System.Windows.DependencyObject)
public MethodSetFullExtentSets the full extent of the layer. (Inherited from ESRI.ArcGIS.Client.Toolkit.DataSources.WebTiledLayer)
public MethodSetTileInfoSets the tile scheme of the tile layer. If not set then assume standard web mercator tiling scheme. (Inherited from ESRI.ArcGIS.Client.Toolkit.DataSources.WebTiledLayer)
public MethodSetValueOverloaded. Sets the local value of a dependency property, specified by its dependency property identifier. (Inherited from System.Windows.DependencyObject)
Top

Protected Methods

 NameDescription
protected MethodCancelStops loading of any pending tiles (Inherited from ESRI.ArcGIS.Client.TiledLayer)
protected MethodGetTileSourceGets the tile source. (Inherited from ESRI.ArcGIS.Client.TiledMapServiceLayer)
protected MethodOnLayerChangedNotifies the map that the layer has changed and requires a redraw. (Inherited from ESRI.ArcGIS.Client.Layer)
protected MethodOnLoadedOccurs when this layer is rendered. (Inherited from ESRI.ArcGIS.Client.Layer)
protected MethodOnMapChangedNetworkAvailabilityChanged (Inherited from ESRI.ArcGIS.Client.TiledLayer)
protected MethodOnPropertyChangedOverloaded. Raises the ESRI.ArcGIS.Client.Layer.PropertyChanged event. (Inherited from ESRI.ArcGIS.Client.Layer)
protected MethodOnUnloadedOccurs when this layer is no longer connected to the main object tree. (Inherited from ESRI.ArcGIS.Client.Layer)
Top

Public Events

 NameDescription
public EventInitializationFailedThis Event fires when a Layer has been initialized and has encountered a problem. (Inherited from ESRI.ArcGIS.Client.Layer)
public EventInitializedRaised when the layer has been initialized (Inherited from ESRI.ArcGIS.Client.Layer)
public EventPropertyChangedProperty changed event (Inherited from ESRI.ArcGIS.Client.Layer)
public EventTileLoadedOccurs when a tile has been loaded. (Inherited from ESRI.ArcGIS.Client.TiledLayer)
public EventTileLoadingOccurs when a tile is about to load. (Inherited from ESRI.ArcGIS.Client.TiledLayer)
Top

See Also

© ESRI, Inc. All Rights Reserved.