C# Class ESRI.ArcGIS.Client.Toolkit.DataSources.WebTiledLayer

A WebTiledLayer is a tiled layer where the tiles are obtained directly from the provided URL, as opposed to requests made against a service. Typically, Web Tiled Layers are used as a basemap.

As a minimum, the property TemplateUrl must be defined. If the tileInfo is not specified then the spatial reference and tiling scheme of the layer is assumed to be in the web mercator projection and google/ms/esri web mercator tiling scheme.

Tile layers are added to a web map as layer type: WebTiledLayer (exposed in the UI as a Tile Layer).
Inheritance: TiledMapServiceLayer, IAttribution, ITileCache
Afficher le fichier Open project: Esri/arcgis-toolkit-sl-wpf

Méthodes publiques

Свойство Type Description
CopyrightTextProperty System.Windows.DependencyProperty
SubDomainsProperty System.Windows.DependencyProperty
TemplateUrlProperty System.Windows.DependencyProperty

Private Properties

Свойство Type Description
CreateAttributionTemplate void
OnSubDomainsPropertyChanged void
OnTemplateUrlPropertyChanged void

Méthodes publiques

Méthode Description
GetTileUrl ( int level, int row, int col ) : string

Returns a URL to the specified tile in an WebTiledLayer.

Initialize ( ) : void

Initializes the resource.

Override this method if your resource requires asyncronous requests to initialize, and call the base method when initialization is completed.

Upon completion of initialization, check the ESRI.ArcGIS.Client.Layer.InitializationFailure for any possible errors.

SetFullExtent ( Envelope extent ) : void

Sets the full extent of the layer.

SetTileInfo ( TileInfo tileInfo ) : void

Sets the tile scheme of the tile layer. If not set then assume standard web mercator tiling scheme.

WebTiledLayer ( ) : System

Initializes a new instance of the WebTiledLayer class.

Private Methods

Méthode Description
CreateAttributionTemplate ( ) : void
OnSubDomainsPropertyChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnTemplateUrlPropertyChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void

Method Details

GetTileUrl() public méthode

Returns a URL to the specified tile in an WebTiledLayer.
public GetTileUrl ( int level, int row, int col ) : string
level int Layer level
row int Tile row
col int Tile column
Résultat string

Initialize() public méthode

Initializes the resource.

Override this method if your resource requires asyncronous requests to initialize, and call the base method when initialization is completed.

Upon completion of initialization, check the ESRI.ArcGIS.Client.Layer.InitializationFailure for any possible errors.

public Initialize ( ) : void
Résultat void

SetFullExtent() public méthode

Sets the full extent of the layer.
public SetFullExtent ( Envelope extent ) : void
extent Envelope The extent.
Résultat void

SetTileInfo() public méthode

Sets the tile scheme of the tile layer. If not set then assume standard web mercator tiling scheme.
public SetTileInfo ( TileInfo tileInfo ) : void
tileInfo TileInfo The tile info.
Résultat void

WebTiledLayer() public méthode

Initializes a new instance of the WebTiledLayer class.
public WebTiledLayer ( ) : System
Résultat System

Property Details

CopyrightTextProperty public_oe static_oe property

Dependency property for CopyrightText.
public static DependencyProperty,System.Windows CopyrightTextProperty
Résultat System.Windows.DependencyProperty

SubDomainsProperty public_oe static_oe property

Dependency property for SubDomains.
public static DependencyProperty,System.Windows SubDomainsProperty
Résultat System.Windows.DependencyProperty

TemplateUrlProperty public_oe static_oe property

Dependency property for TemplateUrl.
public static DependencyProperty,System.Windows TemplateUrlProperty
Résultat System.Windows.DependencyProperty