KmlToKml Method (Feature, String, NullableDouble, XElement, XElement)

PreStorm - A Data Client for ArcGIS Server REST API
Converts the feature to KML.

Namespace:  PreStorm
Assembly:  PreStorm (in PreStorm.dll) Version: 1.8.19.0 (1.8.19.0)
Syntax

public static XElement ToKml(
	this Feature feature,
	string name = null,
	Nullable<double> z = null,
	XElement[] geometryElements = null,
	params XElement[] placemarkElements
)

Parameters

feature
Type: PreStormFeature
name (Optional)
Type: SystemString
The name for the placemark.
z (Optional)
Type: SystemNullableDouble
The altitude in meters.
geometryElements (Optional)
Type: System.Xml.LinqXElement
Any extra geometry elements (i.e. altitudeMode).
placemarkElements
Type: System.Xml.LinqXElement
Any extra placemark elements (i.e. styleUrl).

Return Value

Type: XElement

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Feature. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also

Reference