Свойство | Type | Description | |
---|---|---|---|
CreateFeatureDefinition | void | ||
DownloadStyleAsync | void | ||
ExtractCoordinate | MapPoint | ||
ExtractCoordinates | PointCollection | ||
ExtractDouble | double | ||
ExtractEnvelope | Envelope | ||
ExtractFeatureStyleInfo | void | ||
ExtractLatLonBox | |||
ExtractLinearRing | |||
ExtractPoint | |||
ExtractPolyLine | |||
ExtractPolygon | |||
ExtractRegion | RegionInfo | ||
ExtractRing | PointCollection | ||
ExtractTimeExtent | TimeExtent | ||
ExtractTimeExtentFromDate | TimeExtent | ||
ExtractTimeExtentFromTimeSpan | TimeExtent | ||
ExtractTimeExtentFromTimeStamp | TimeExtent | ||
GetAtomAuthor | string | ||
GetAtomHref | string | ||
GetBooleanValue | bool | ||
GetColorFromHexString | System.Windows.Media.Color | ||
GetDoubleValue | double | ||
GetFeatureType | System.Xml.Linq.XElement | ||
GetKmzContents | System.Xml.Linq.XDocument | ||
GetStyle | void | ||
GetStyleMapAsync | void | ||
GetStyleUrlAsync | void | ||
StoreZipfileAndCallback | void | ||
StringToBool | bool | ||
StyleDownloaded | void |
Méthode | Description | |
---|---|---|
Convert ( KmlLayerContext context ) : |
Takes features in the KML element and converts them into equivalent features and adds them to the FeatureDefinition. Only the direct children of the KML element are converted.
|
|
KmlToFeatureDefinition ( |
Initializes a new instance of the KmlToFeatureDefinition class.
|
Méthode | Description | |
---|---|---|
CreateFeatureDefinition ( |
||
DownloadStyleAsync ( string styleUrl, System credentials, Action |
Downloads KML file containing style, extracts style and creates feature definitions.
|
|
ExtractCoordinate ( string coordinate ) : MapPoint |
Extracts the X and Y values from a comma delimited string containing a single coordinate.
|
|
ExtractCoordinates ( System.Xml.Linq.XElement coordinates ) : PointCollection |
Extracts the X and Y values from a comma delimited string containing multiple coordinates.
|
|
ExtractDouble ( System.Xml.Linq.XElement element ) : double | ||
ExtractEnvelope ( System.Xml.Linq.XElement geomElement ) : Envelope |
Extracts an envelope from the input element.
|
|
ExtractFeatureStyleInfo ( |
||
ExtractLatLonBox ( |
Extracts a polygon from the input element and applies style information to the placemark descriptor.
|
|
ExtractLinearRing ( |
Extracts a linear ring from the input element and applies style information to the placemark descriptor.
|
|
ExtractPoint ( |
Extracts a point from the input element and applies style information to the placemark descriptor.
|
|
ExtractPolyLine ( |
Extracts a polyline from the input element and applies style information to the placemark descriptor.
|
|
ExtractPolygon ( |
Extracts a polygon from the input element and applies style information to the placemark descriptor.
|
|
ExtractRegion ( System.Xml.Linq.XElement feature ) : RegionInfo |
Extracts the region from a KML feature (folder, document, networklink, placemark or groundoverlay)
|
|
ExtractRing ( System.Xml.Linq.XElement boundary ) : PointCollection |
Extracts a collection of points from a LinearRing definition.
|
|
ExtractTimeExtent ( System.Xml.Linq.XElement element, object>.IDictionary |
||
ExtractTimeExtentFromDate ( string strDateTime ) : TimeExtent | ||
ExtractTimeExtentFromTimeSpan ( System.Xml.Linq.XElement element, object>.IDictionary |
||
ExtractTimeExtentFromTimeStamp ( System.Xml.Linq.XElement element, object>.IDictionary |
||
GetAtomAuthor ( System.Xml.Linq.XElement element ) : string | ||
GetAtomHref ( System.Xml.Linq.XElement element ) : string | ||
GetBooleanValue ( System.Xml.Linq.XElement element ) : bool | ||
GetColorFromHexString ( string s ) : System.Windows.Media.Color |
Converts hexadecimal color notation into equivalent Silverlight Color.
|
|
GetDoubleValue ( System.Xml.Linq.XElement element ) : double | ||
GetFeatureType ( System.Xml.Linq.XElement element ) : System.Xml.Linq.XElement |
Extracts the feature element from the Placemark.
|
|
GetKmzContents ( |
Processes each file in the ZIP stream, storing images in a dictionary and load the KML contents into an XDocument.
|
|
GetStyle ( System.Xml.Linq.XElement style, |
Constructs a KMLStyle object that represents KML style contained in the input XElement.
|
|
GetStyleMapAsync ( System.Xml.Linq.XElement styleMap, System.Xml.Linq.XDocument xDoc, ICredentials credentials, Action |
Gets the 'normal' style of a style map. Getting this style may need recursive download. When the style is ready -> execute the callback. The 'highlight' style is not used by the KmlLayer. |
|
GetStyleUrlAsync ( string styleUrl, System.Xml.Linq.XDocument xDoc, System credentials, Action |
||
StoreZipfileAndCallback ( |
||
StringToBool ( string s ) : bool |
Converts a string containing an integer value into a boolean.
|
|
StyleDownloaded ( object sender, |
Event handler invoked when an external KML file containing a style definition has been downloaded.
|
public Convert ( KmlLayerContext context ) : |
||
context | KmlLayerContext | Context containing the XElement with the KML definition to be converted. |
Résultat |
public KmlToFeatureDefinition ( |
||
baseUri | ||
proxyUrl | string | |
Résultat | ESRI.ArcGIS.Client.Toolkit.DataSources.Kml.Zip |