New to Telerik UI for WinForms? Start a free 30-day trial

Parses KML documents from streams or strings into map visual elements.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.RadMap.dll

Syntax:

C#
public static class KmlReader

Inheritance: objectKmlReader

Properties

Gets or sets the optional folder searched by filename when a referenced local icon path cannot be found as supplied. If unset, the reader falls back to the directory containing the executing assembly.

C#
public static string LocalImagesFolder { get; set; }

Methods

Reads Kml file from a stream.

C#
public static List<MapVisualElement> Read(Stream stream, ExtendedPropertySet extendedPropertySet)
Parameters:streamStream

Stream of Kml file.

extendedPropertySetExtendedPropertySet

Extended property set for extended data.

Returns:

List<MapVisualElement>

List of elements that will be placed on an information layer.

Reads Kml file from a stream.

C#
public static List<MapVisualElement> Read(Stream stream)
Parameters:streamStream

Stream of Kml file.

Returns:

List<MapVisualElement>

List of elements that will be placed on an information layer.

Reads Kml file from a string.

C#
public static List<MapVisualElement> Read(string value, ExtendedPropertySet extendedPropertySet)
Parameters:valuestring

String of Kml.

extendedPropertySetExtendedPropertySet

Extended property set for extended data.

Returns:

List<MapVisualElement>

List of elements that will be placed on an information layer.

Reads Kml file from a string.

C#
public static List<MapVisualElement> Read(string value)
Parameters:valuestring

String of Kml.

Returns:

List<MapVisualElement>

List of elements that will be placed on an information layer.