C# Класс 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).
Наследование: TiledMapServiceLayer, IAttribution, ITileCache
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
CopyrightTextProperty System.Windows.DependencyProperty
SubDomainsProperty System.Windows.DependencyProperty
TemplateUrlProperty System.Windows.DependencyProperty

Private Properties

Свойство Тип Описание
CreateAttributionTemplate void
OnSubDomainsPropertyChanged void
OnTemplateUrlPropertyChanged void

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
CreateAttributionTemplate ( ) : void
OnSubDomainsPropertyChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnTemplateUrlPropertyChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void

Описание методов

GetTileUrl() публичный Метод

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
Результат string

Initialize() публичный Метод

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
Результат void

SetFullExtent() публичный Метод

Sets the full extent of the layer.
public SetFullExtent ( Envelope extent ) : void
extent Envelope The extent.
Результат void

SetTileInfo() публичный Метод

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.
Результат void

WebTiledLayer() публичный Метод

Initializes a new instance of the WebTiledLayer class.
public WebTiledLayer ( ) : System
Результат System

Описание свойств

CopyrightTextProperty публичное статическое свойство

Dependency property for CopyrightText.
public static DependencyProperty,System.Windows CopyrightTextProperty
Результат System.Windows.DependencyProperty

SubDomainsProperty публичное статическое свойство

Dependency property for SubDomains.
public static DependencyProperty,System.Windows SubDomainsProperty
Результат System.Windows.DependencyProperty

TemplateUrlProperty публичное статическое свойство

Dependency property for TemplateUrl.
public static DependencyProperty,System.Windows TemplateUrlProperty
Результат System.Windows.DependencyProperty