New to Telerik UI for .NET MAUIStart a free 30-day trial

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:

C#
public class MapShapeReader : BindableObject

Inheritance: objectMapShapeReader

Constructors

C#
public MapShapeReader()

Fields

DataSourceProperty

BindableProperty

Identifies the DataSource bindable property.

C#
public static readonly BindableProperty DataSourceProperty

SourceProperty

BindableProperty

Identifies the Source bindable property.

C#
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.

C#
public MapSource DataSource { get; set; }
Property Value:

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

Gets the shapes that are read from the Source.

C#
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.

C#
public MapSource Source { get; set; }
Property Value:

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.

C#
public event EventHandler ReadCompleted