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. The String representation of the Point3DCollection class. |
Returns
Location 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. The String representation of the LocationCollection class. |
System. Indicates whether string contains coordinates in reversed order (Longitude-Latitude like in KML files). |
Returns
Location 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
Rad Map control to use settings from. |
Returns
System. Collection of the screen points. |
ToString(IFormatProvider)
Creates a String representation of this LocationCollection.
Declaration
public string ToString(IFormatProvider provider)
Parameters
System. The culture-specific formatting information. |
Returns
System. 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. The culture-specific formatting information. |
System. Indicates whether KML syntax should be used. |
Returns
System. A String containing the Location structures in the collection. |