ArcGIS API for Silverlight - Library Reference
KmlLayer Class Members
See Also  Fields  Properties  Methods  Events Send comments on this topic
ESRI.ArcGIS.Client.Toolkit.DataSources Namespace : KmlLayer Class


The following tables list the members exposed by KmlLayer.

Public Constructors

 NameDescription
public ConstructorKmlLayer ConstructorInitializes a new instance of the KmlLayer class.  
Top

Public Fields

 NameDescription
public Fieldstatic (Shared in Visual Basic)ProjectionServicePropertyIdentifies the ProjectionService dependency property.  
Top

Public Properties

 NameDescription
public PropertyChildLayers Gets or sets the child layers. (Inherited from ESRI.ArcGIS.Client.GroupLayerBase)
public PropertyDisableClientCachingDisables caching an KLM document on the client.  
public PropertyDispatcher (Inherited from System.Windows.DependencyObject)
public PropertyDisplayName Gets 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 PropertyFullExtentOverridden.  The full extent of the layer  
public PropertyGraphics Gets the graphics from all sublayers of this KML layer.  
public PropertyID Gets or sets the layer ID (Inherited from ESRI.ArcGIS.Client.Layer)
public PropertyInitializationFailure Gets or sets the initialization failure if the initialization failed. (Inherited from ESRI.ArcGIS.Client.Layer)
public PropertyIsInitialized Returns true if the layer has been initialized. (Inherited from ESRI.ArcGIS.Client.Layer)
public PropertyMapTipGets or sets the MapTip displayed when the mouse hovers on a Graphic in the KmlLayer (or its sub-layers).  
public PropertyMaximumResolution Gets or sets the maximum resolution (map units per pixel) where this layer is visible. (Inherited from ESRI.ArcGIS.Client.Layer)
public PropertyMinimumResolution Gets or sets the minimum resolution (map units per pixel) where this layer is visible. (Inherited from ESRI.ArcGIS.Client.Layer)
public PropertyName Gets the name of the KML document.  
public PropertyOpacity Gets or sets the layer opacity (Inherited from ESRI.ArcGIS.Client.Layer)
public PropertyProjectionService Gets or sets the projection service used for projecting geometry in the data source to the map's spatial reference.  
public PropertyProxyUrl Optional. Gets or sets the URL to a proxy service that brokers Web requests between the Silverlight client and a KML file. Use a proxy service when the KML file is not hosted on a site that provides a cross domain policy file (clientaccesspolicy.xml or crossdomain.xml).  
public PropertyRefreshInterval Gets or sets the refresh interval.  
public PropertyShowLegend Gets or sets a value indicating whether to show legend. (Inherited from ESRI.ArcGIS.Client.Layer)
public PropertySpatialReference Gets the default spatial reference of the layer. (Inherited from ESRI.ArcGIS.Client.Layer)
public PropertyUrl Gets or sets the Url to the KML document.  
public PropertyVisible Gets or sets the visibility of the layer (Inherited from ESRI.ArcGIS.Client.Layer)
public PropertyVisibleLayers Gets or sets the names of the KML sublayers that have to be initialized as visible. If this property is not set, the visibility defined in the KML document is used.  
public PropertyVisibleTimeExtent Gets or sets the time extent where this layer is visible. (Inherited from ESRI.ArcGIS.Client.Layer)
Top

Public Methods

 NameDescription
public MethodClearValue (Inherited from System.Windows.DependencyObject)
public MethodGenerateVisibilityIDs Generate the IDs of the folder that are currently visible.  
public MethodGetAnimationBaseValue (Inherited from System.Windows.DependencyObject)
public MethodGetEnumerator Gets the enumerator. (Inherited from ESRI.ArcGIS.Client.GroupLayerBase)
public MethodGetValue (Inherited from System.Windows.DependencyObject)
public MethodInitializeOverridden.  Initializes the resource.  
public MethodQueryLegendInfosOverridden.  Queries for the legend infos of the layer.  
public MethodReadLocalValue (Inherited from System.Windows.DependencyObject)
public MethodRefresh Refreshes the KML layer by downloading and parsing the KML document.  
public MethodSetSource Sets the KML stream source.  
public MethodSetValue (Inherited from System.Windows.DependencyObject)
public MethodSetVisibilityByIDs Set the folders visibility from an enumeration of Ids. These Ids are those used by the webmaps.  
public MethodToBitmapRenders the layer to a System.Windows.Media.Imaging.WriteableBitmap. (Inherited from ESRI.ArcGIS.Client.Layer)
Top

Protected Methods

 NameDescription
protected MethodCancel Stops loading of any pending images (Inherited from ESRI.ArcGIS.Client.Layer)
protected MethodOnChildLayersChangedCalled when the E:ChildLayers property changes. (Inherited from ESRI.ArcGIS.Client.GroupLayerBase)
protected MethodOnChildLayersCollectionChangedCalled when the E:ChildLayers's System.Collections.Specialized.INotifyCollectionChanged event fires. (Inherited from ESRI.ArcGIS.Client.GroupLayerBase)
protected MethodOnChildLayersCollectionClearingCalled when the ESRI.ArcGIS.Client.GroupLayerBase.ChildLayers collection is about to clear its collection. (Inherited from ESRI.ArcGIS.Client.GroupLayerBase)
protected MethodOnLayerChanged Notifies the map that the layer has changed and requires a redraw. (Inherited from ESRI.ArcGIS.Client.Layer)
protected MethodOnMapChangedOverridden. Override to know when a layer's ESRI.ArcGIS.Client.Map property changes.  
protected MethodOnPropertyChanged (Inherited from ESRI.ArcGIS.Client.Layer)
Top

Public Events

 NameDescription
public EventInitializationFailed This Event fires when a Layer has been initialized and has encountered a problem. (Inherited from ESRI.ArcGIS.Client.Layer)
public EventInitialized Raised when the layer has been initialized (Inherited from ESRI.ArcGIS.Client.Layer)
public EventLegendChanged Occurs when the legend of the layer changed (e.g. when the renderer changed) (Inherited from ESRI.ArcGIS.Client.GroupLayer)
public EventPropertyChanged Property changed event (Inherited from ESRI.ArcGIS.Client.Layer)
Top

See Also

© ESRI, Inc. All Rights Reserved.