MapShapeReader
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
public MapShapeReader()
Fields
DataSourceProperty
BindableProperty
Identifies the DataSource bindable property.
public static readonly BindableProperty DataSourceProperty
SourceProperty
BindableProperty
Identifies the Source bindable property.
public static readonly BindableProperty SourceProperty
Properties
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.
public MapSource DataSource { get; set; }
A MapSource pointing to a .dbf file containing attribute data for the shapes.
Gets the shapes that are read from the Source.
public IEnumerable<IShape> Shapes { get; }
Gets or sets the MapSource that specifies the location of the main shapefile (.shp) containing geometric data. This is the primary data source that defines the shapes to be displayed on the map.
public MapSource Source { get; set; }
A MapSource pointing to a .shp file containing the geometric shape data.
Events
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.
public event EventHandler ReadCompleted