ClassLocationCollection
Represents an ordered collection of Location objects.
Definition
Namespace:Telerik.Windows.Controls.Map
Assembly:Telerik.Windows.Controls.DataVisualization.dll
Syntax:
[TypeConverter(typeof(LocationCollectionConverter))]
public class LocationCollection : ObservableCollection<Location>, IList<Location>, ICollection<Location>, IList, ICollection, IReadOnlyList<Location>, IReadOnlyCollection<Location>, IEnumerable<Location>, IEnumerable, INotifyCollectionChanged, INotifyPropertyChanged
Inheritance: objectCollection<Location>ObservableCollection<Location>LocationCollection
Implements:
Inherited Members
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
source
The String representation of the Point3DCollection class.
Returns
The equivalent Point3DCollection class.
Parse(string, bool)
Converts a String representation of the LocationCollection into the equivalent LocationCollection class.
Declaration
public static LocationCollection Parse(string source, bool reversed)
Parameters
source
The String representation of the LocationCollection class.
reversed
Indicates whether string contains coordinates in reversed order (Longitude-Latitude like in KML files).
Returns
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
mapControl
Map control to use settings from.
Returns
PointCollection
Collection of the screen points.
ToString(IFormatProvider)
Creates a String representation of this LocationCollection.
Declaration
public string ToString(IFormatProvider provider)
Parameters
provider
The culture-specific formatting information.
Returns
A String containing the Location structures in the collection.
ToString(IFormatProvider, bool)
Creates a String representation of this LocationCollection.
Declaration
[SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Kml")]
public string ToString(IFormatProvider provider, bool useKmlFormat)
Parameters
provider
The culture-specific formatting information.
useKmlFormat
Indicates whether KML syntax should be used.
Returns
A String containing the Location structures in the collection.