ClassMapShapeReader
Represents a shapefile reader that asynchronously loads and parses ESRI Shapefile (.shp) data for display in a MapShapefileLayer. The reader processes the shapefile geometry and associated attribute data, making it available for rendering and interaction.
Definition
Namespace:Telerik.Maui.Controls.Map
Assembly:Telerik.Maui.Controls.dll
Syntax:
public class MapShapeReader : BindableObject
Inheritance: objectMapShapeReader
Constructors
MapShapeReader()
Declaration
public MapShapeReader()
Fields
DataSourceProperty
Identifies the DataSource bindable property.
Declaration
public static readonly BindableProperty DataSourceProperty
Field Value
BindableProperty
SourceProperty
Identifies the Source bindable property.
Declaration
public static readonly BindableProperty SourceProperty
Field Value
BindableProperty
Properties
DataSource
Gets or sets the MapSource that specifies the location of the attribute data file (.dbf) containing additional properties for each shape. This optional data source provides metadata and attributes that can be used for styling, labeling, and selection. If not specified, only geometric data from the Source will be available.
Shapes
Gets the shapes that are read from the Source.
Declaration
public IEnumerable<IShape> Shapes { get; }
Property Value
Events
ReadCompleted
Occurs when the asynchronous loading and parsing of the shapefile has completed successfully. Subscribe to this event to perform additional operations after the shapefile data is ready.