Class
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:

cs-api-definition
public class MapShapeReader : BindableObject

Inheritance: objectMapShapeReader

Constructors

MapShapeReader()

Declaration

cs-api-definition
public MapShapeReader()

Fields

DataSourceProperty

Identifies the DataSource bindable property.

Declaration

cs-api-definition
public static readonly BindableProperty DataSourceProperty

Field Value

BindableProperty

SourceProperty

Identifies the Source bindable property.

Declaration

cs-api-definition
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.

Declaration

cs-api-definition
public MapSource DataSource { get; set; }

Property Value

MapSource

A MapSource pointing to a .dbf file containing attribute data for the shapes.

Shapes

Gets the shapes that are read from the Source.

Declaration

cs-api-definition
public IEnumerable<IShape> Shapes { get; }

Property Value

IEnumerable<IShape>

Source

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.

Declaration

cs-api-definition
public MapSource Source { get; set; }

Property Value

MapSource

A MapSource pointing to a .shp file containing the geometric shape data.

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.

Declaration

cs-api-definition
public event EventHandler ReadCompleted

Event Value

EventHandler