Class ShapefileLayer
Represents a concrete MapLayer implementation that is used to visualize geometry information coming from a MapShapeReader.
Namespace: Telerik.Maui.Controls.Compatibility.Map
Assembly: Telerik.Maui.Controls.Compatibility.dll
Syntax
public class ShapefileLayer : MapLayer
Constructors
ShapefileLayer()
Fields
LabelAttributeNameProperty
Identifies the LabelAttributeName property.
Declaration
public static readonly BindableProperty LabelAttributeNameProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
ReaderProperty
Identifies the Reader property.
Declaration
public static readonly BindableProperty ReaderProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
SelectedShapeProperty
Identifies the SelectedShape property.
Declaration
public static readonly BindableProperty SelectedShapeProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
SelectedShapesProperty
Identifies the SelectedShape property.
Declaration
public static readonly BindableProperty SelectedShapesProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
SelectedShapeStyleProperty
Identifies the SelectedShapeStyle property.
Declaration
public static readonly BindableProperty SelectedShapeStyleProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
SelectionModeProperty
Identifies the SelectionMode property.
Declaration
public static readonly BindableProperty SelectionModeProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
ShapeLabelStyleProperty
Identifies the ShapeLabelStyle property.
Declaration
public static readonly BindableProperty ShapeLabelStyleProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
ShapeStyleProperty
Identifies the ShapeStyle property.
Declaration
public static readonly BindableProperty ShapeStyleProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
ShapeStyleSelectorProperty
Identifies the ShapeStyleSelector property.
Declaration
public static readonly BindableProperty ShapeStyleSelectorProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
Properties
LabelAttributeName
Gets or sets the name of the attribute, as specified by the *.dbf file, that points to the value set to each Shape as its label.
Declaration
public string LabelAttributeName { get; set; }
Property Value
System.String
|
Reader
Gets or sets the MapShapeReader that is used for reading the .shp and .dbf files.
Declaration
public MapShapeReader Reader { get; set; }
Property Value
MapShapeReader
|
SelectedShape
Gets or sets the currently selected IShape instance. When multiple selection is enabled, this value is set to the first selected shape.
Declaration
public IShape SelectedShape { get; set; }
Property Value
IShape
|
SelectedShapes
Gets the currently selected IShape instances.
Declaration
public ObservableCollection<IShape> SelectedShapes { get; }
Property Value
System.Collections.ObjectModel.ObservableCollection<IShape>
|
SelectedShapeStyle
Gets or sets the MapShapeStyle instance that defines the appearance of all the shapes that are currently selected.
Declaration
public MapShapeStyle SelectedShapeStyle { get; set; }
Property Value
MapShapeStyle
|
SelectionMode
Gets or sets the SelectionMode value that defines how the user input affects the current selection.
Declaration
public SelectionMode SelectionMode { get; set; }
Property Value
SelectionMode
|
ShapeLabelStyle
Gets or sets the MapShapeLabelStyle instance that defines the appearance of each label, displayed by the visualized shapes.
Declaration
public MapShapeLabelStyle ShapeLabelStyle { get; set; }
Property Value
MapShapeLabelStyle
|
ShapeStyle
Gets or sets the MapShapeStyle instance that defines the appearance of all the shapes that are currently visualized.
Declaration
public MapShapeStyle ShapeStyle { get; set; }
Property Value
MapShapeStyle
|
ShapeStyleSelector
Gets or sets the MapShapeStyleSelector instance that may be used to dynamically style a shape based on its attributes.
Declaration
public MapShapeStyleSelector ShapeStyleSelector { get; set; }
Property Value
MapShapeStyleSelector
|
Methods
GetBestView()
Gets location rectangle which represents best view for the layer.
Declaration
public LocationRect GetBestView()
Returns
LocationRect
Location rectangle which represents best view. |
OnBindingContextChanged()
Declaration
protected override void OnBindingContextChanged()
OnPropertyChanged(String)
Declaration
protected override void OnPropertyChanged(string propertyName = null)
Parameters
System.String
propertyName
|