Class LocationCollection
Represents an ordered collection of Location objects.
Inheritance
Namespace: Telerik.Windows.Controls.Map
Assembly: Telerik.Windows.Controls.DataVisualization.dll
Syntax
public class LocationCollection : ObservableCollection<Location>
Constructors
LocationCollection()
Declaration
public LocationCollection()
Methods
Parse(String)
Converts a String representation of the Point3DCollection into the equivalent Point3DCollection class.
Declaration
public static LocationCollection Parse(string source)
Parameters
System.String
source
The String representation of the Point3DCollection class. |
Returns
LocationCollection
The equivalent Point3DCollection class. |
Parse(String, Boolean)
Converts a String representation of the LocationCollection into the equivalent LocationCollection class.
Declaration
public static LocationCollection Parse(string source, bool reversed)
Parameters
System.String
source
The String representation of the LocationCollection class. |
System.Boolean
reversed
Indicates whether string contains coordinates in reversed order (Longitude-Latitude like in KML files). |
Returns
LocationCollection
The equivalent LocationCollection class. |
ToPointCollection(RadMap)
Convert latitude-longitudes to the screen points using settings of the RadMap control.
Declaration
public PointCollection ToPointCollection(RadMap mapControl)
Parameters
RadMap
mapControl
Map control to use settings from. |
Returns
System.Windows.Media.PointCollection
Collection of the screen points. |
ToString(IFormatProvider)
Creates a String representation of this LocationCollection.
Declaration
public string ToString(IFormatProvider provider)
Parameters
System.IFormatProvider
provider
The culture-specific formatting information. |
Returns
System.String
A String containing the Location structures in the collection. |
ToString(IFormatProvider, Boolean)
Creates a String representation of this LocationCollection.
Declaration
public string ToString(IFormatProvider provider, bool useKmlFormat)
Parameters
System.IFormatProvider
provider
The culture-specific formatting information. |
System.Boolean
useKmlFormat
Indicates whether KML syntax should be used. |
Returns
System.String
A String containing the Location structures in the collection. |