Свойство | Тип | Описание | |
---|---|---|---|
ClientCertificateProperty | |||
CredentialsProperty | |||
ProjectionServiceProperty |
Свойство | Тип | Описание | |
---|---|---|---|
AssignFolderIDs | void | ||
ConditionalRefresh | void | ||
ConvertToSeekable | Stream | ||
DownloadContent | void | ||
GetBaseUri | |||
GetKmzContents | System.Xml.Linq.XDocument | ||
GetParentsAndSelf | IEnumerable |
||
GetProjectionService | IProjectionService | ||
GetUri | |||
InternalGenerateVisibilityIDs | IEnumerable |
||
IsContainerVisible | bool | ||
IsInRegion | bool | ||
IsStreamCompressed | bool | ||
KmlLayer | ESRI.ArcGIS.Client.Toolkit.DataSources.Kml.Zip | ||
LayerGraphics | IEnumerable |
||
LoadDocument | System.Xml.Linq.XDocument | ||
NeedNumericId | bool | ||
OnClientCertificatePropertyChanged | void | ||
OnCredentialsPropertyChanged | void | ||
OnProjectionServicePropertyChanged | void | ||
ParseKmlDocument | void | ||
ProjectGroundOverlays | void | ||
ProjectGroundOverlays | void | ||
ResetRefreshTimer | void | ||
SetProjectionService | void | ||
SetResolutionRange | void | ||
SetResolutionRange | void | ||
SetSourceInternal | void | ||
StartRefreshTimer | void | ||
StopRefreshTimer | void | ||
UnhookLayerEvents | void | ||
backgroundWorker_DoWork | void | ||
backgroundWorker_RunWorkerCompleted | void | ||
webclient_OpenReadCompleted | void |
Метод | Описание | |
---|---|---|
GenerateVisibilityIDs ( ) : IEnumerable |
Generate the IDs of the folder that are currently visible. This method is mainly useful for the webmap serializer |
|
Initialize ( ) : void |
Initializes the resource.
|
|
KmlLayer ( ) : ESRI.ArcGIS.Client.Toolkit.DataSources.Kml.Zip |
Initializes a new instance of the KmlLayer class.
|
|
KmlLayer_InitializationFailed ( object sender, |
||
KmlLayer_PropertyChanged ( object sender, |
Handles the PropertyChanged event of the KmlLayer. Loads and parses the KML source as soon as the layer is visible.
|
|
Map_PropertyChanged ( object sender, |
||
QueryLegendInfos ( Action |
Queries for the legend infos of the layer. The returned result is encapsulated in a LayerLegendInfo object. A group layer returns only one item describing the group layer (the legends of the sublayers are not returned by this method) |
|
Refresh ( ) : void |
Refreshes the KML layer by downloading and parsing the KML document.
|
|
RefreshOnRegion ( Envelope region ) : void | ||
RefreshOnRegionAsync ( object sender, ExtentEventArgs e ) : void | ||
RefreshTimer_Tick ( object sender, |
||
SetSource ( Stream stream ) : void |
Sets the KML stream source. Use this method if you need to load KML from a local file or file stream. |
|
SetVisibilityByIDs ( IEnumerable |
Set the folders visibility from an enumeration of Ids. These Ids are those used by the webmaps. This method is mainly useful for the webmap serializer |
Метод | Описание | |
---|---|---|
OnLoaded ( ) : void |
Occurs when this layer is rendered.
|
|
OnMapChanged ( Map oldValue, Map newValue ) : void |
Override to know when a layer's Map property changes.
|
|
OnUnloaded ( ) : void |
Occurs when this layer is no longer connected to the main object tree.
|
Метод | Описание | |
---|---|---|
AssignFolderIDs ( System.Xml.Linq.XContainer xContainer ) : void | ||
ConditionalRefresh ( Envelope region ) : void |
If the region matches the map extent, download the URL immediately else set the flag NeedRefreshOnRegion for further refresh
|
|
ConvertToSeekable ( Stream inputStream ) : Stream | ||
DownloadContent ( |
Download content using URL. This method may be called recursively if the KML file contains a network link.
|
|
GetBaseUri ( ) : |
||
GetKmzContents ( |
Processes each file in the ZIP stream, storing images in a dictionary and load the KML contents into an XDocument.
|
|
GetParentsAndSelf ( |
||
GetProjectionService ( ) : IProjectionService | ||
GetUri ( string url, |
||
InternalGenerateVisibilityIDs ( |
||
IsContainerVisible ( string path, bool defaultVisibility ) : bool | ||
IsInRegion ( Map map, Envelope region ) : bool | ||
IsStreamCompressed ( Stream inputStream ) : bool | ||
KmlLayer ( |
Initializes a new instance of the KmlLayer class which will be a child of another KmlLayer.
|
|
LayerGraphics ( Layer layer ) : IEnumerable |
||
LoadDocument ( Stream stream ) : System.Xml.Linq.XDocument | ||
NeedNumericId ( System.Xml.Linq.XElement element ) : bool | ||
OnClientCertificatePropertyChanged ( |
||
OnCredentialsPropertyChanged ( |
||
OnProjectionServicePropertyChanged ( |
||
ParseKmlDocument ( ) : void | ||
ProjectGroundOverlays ( ) : void | ||
ProjectGroundOverlays ( ElementLayer layer, SpatialReference sref ) : void | ||
ResetRefreshTimer ( ) : void | ||
SetProjectionService ( IEnumerable |
||
SetResolutionRange ( ) : void |
Sets the min and max resolution from the Region. If the layer is a networklink, the resolution is set on the layer itself If the layer is not a networklink, the resolution is set on the children that are not networklink.
|
|
SetResolutionRange ( Envelope envelope ) : void | ||
SetSourceInternal ( Stream stream ) : void | ||
StartRefreshTimer ( ) : void | ||
StopRefreshTimer ( ) : void | ||
UnhookLayerEvents ( ) : void | ||
backgroundWorker_DoWork ( object sender, |
||
backgroundWorker_RunWorkerCompleted ( object sender, |
||
webclient_OpenReadCompleted ( object sender, |
Event handler for when the KML file is completely downloaded. If the KML content contains a network link, then the linked content will be downloaded recursively. If no network link is detected, then the KML content is converted into a feature definition using the engine and eventually rendered as graphic g.
|
public GenerateVisibilityIDs ( ) : IEnumerable |
||
Результат | IEnumerable |
public KmlLayer ( ) : ESRI.ArcGIS.Client.Toolkit.DataSources.Kml.Zip | ||
Результат | ESRI.ArcGIS.Client.Toolkit.DataSources.Kml.Zip |
public KmlLayer_InitializationFailed ( object sender, |
||
sender | object | |
e | ||
Результат | void |
public KmlLayer_PropertyChanged ( object sender, |
||
sender | object | The source of the event. |
e | The |
|
Результат | void |
public Map_PropertyChanged ( object sender, |
||
sender | object | |
e | ||
Результат | void |
protected OnMapChanged ( Map oldValue, Map newValue ) : void | ||
oldValue | Map | Old map |
newValue | Map | New map |
Результат | void |
public QueryLegendInfos ( Action |
||
callback | Action |
The method to call on completion. |
errorCallback | Action |
The method to call in the event of an error (cant' happen with a group layer). |
Результат | void |
public RefreshOnRegion ( Envelope region ) : void | ||
region | Envelope | |
Результат | void |
public RefreshOnRegionAsync ( object sender, ExtentEventArgs e ) : void | ||
sender | object | |
e | ExtentEventArgs | |
Результат | void |
public RefreshTimer_Tick ( object sender, |
||
sender | object | |
e | ||
Результат | void |
public SetSource ( Stream stream ) : void | ||
stream | Stream | A stream to a KML or KMZ file. |
Результат | void |
public SetVisibilityByIDs ( IEnumerable |
||
IDs | IEnumerable |
Enumeration of visible folder ID. |
Результат | void |
public static DependencyProperty,System.Windows ClientCertificateProperty | ||
Результат |
public static DependencyProperty,System.Windows CredentialsProperty | ||
Результат |