Default implementation of the IMapPropertyAccessor accessor interface.
This implementation uses reflection to access necessary properties in the data items. It supposes that there is only 1 property of type Location in the data item. Value of this property is returned as item's location. It supposes that there is only 1 property of type ZoomRange in the data item. Value of this property is returned as item's zoom range.
Definition
Namespace:Telerik.Windows.Controls.Map
Assembly:Telerik.Windows.Controls.DataVisualization.dll
Syntax:
public class DefaultPropertyAccessor : IMapPropertyAccessor
Inheritance: objectDefaultPropertyAccessor
Implements:
Constructors
Initializes a new instance of the DefaultPropertyAccessor class using information about type of the item.
Methods
Gets double value from the correspondent attachable property.
public double GetDouble(object item, DataMember dataMember)
Item to get value from.
dataMemberDataMemberData member.
Returns:Double value or NaN.
Implements: