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
파일 보기 프로젝트 열기: Esri/arcgis-toolkit-sl-wpf

공개 프로퍼티들

프로퍼티 타입 설명
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