ShapeReaderHelper
Builds and assigns extended-data values shared by geospatial shape readers.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.RadMap.dll
Syntax:
public static class ShapeReaderHelper
Inheritance: objectShapeReaderHelper
Methods
Creates an extended-property set with double-valued latitude and longitude entries.
public static ExtendedPropertySet CreateExtendedPropertySet()
The default location-property set.
Decodes matching fields from a DBF record and converts them to the types declared in the extended-property set.
public static void ReadDbfRecord(ExtendedData record, DbfHeader header, byte[] recordContent)
The extended-data record to populate.
headerDbfHeaderThe DBF field definitions and character encoding.
recordContentbyte[]The raw bytes of one DBF record.
Assigns extended data to each compatible shape and records its location; when multiple shapes are supplied, each receives a clone so its coordinates remain independent.
public static void SetExtendedData(Collection<MapVisualElement> shapesCollection, ExtendedData extendedData)
The map elements that may receive the data.
extendedDataExtendedDataThe source data to assign or clone for each element.
Adds the location coordinates to an element's extended data when the corresponding properties exist, then assigns that data to the element.
public static void SetLocationData(PointG location, IExtendedData dataElement, ExtendedData extendedData)
The geographic location to store.
dataElementIExtendedDataThe element that receives the extended data.
extendedDataExtendedDataThe data object to update and assign.