Interface IShapeLayer
Class which represente the common for shape and sublayer.
Namespace: Syncfusion.Maui.Maps
Assembly: Syncfusion.Maui.Maps.dll
Syntax
public interface IShapeLayer
Properties
BubbleSettings
Gets or sets the map bubble settings to customizing the bubbles of map shapes.
Declaration
MapBubbleSettings BubbleSettings { get; }
Property Value
| Type |
|---|
| MapBubbleSettings |
BubbleTooltipSettings
Gets or sets bubble tooltip settings that allows to customize the bubble tooltip appearance.
Declaration
MapTooltipSettings BubbleTooltipSettings { get; }
Property Value
| Type |
|---|
| MapTooltipSettings |
BubbleTooltipTemplate
Gets or sets the data template to customize the visual representation of shape tooltip.
Declaration
DataTemplate BubbleTooltipTemplate { get; }
Property Value
| Type |
|---|
| Microsoft.Maui.Controls.DataTemplate |
ColorMappings
Gets or sets the collection of ColorMapping which specifes shape's color based on the data.
Declaration
ObservableCollection<ColorMapping> ColorMappings { get; }
Property Value
| Type |
|---|
| System.Collections.ObjectModel.ObservableCollection<ColorMapping> |
DataLabelSettings
Gets or sets the data label settings to customizing the data labels of map shapes.
Declaration
MapDataLabelSettings DataLabelSettings { get; }
Property Value
| Type |
|---|
| MapDataLabelSettings |
DataSource
Gets or sets the data source value to the shape layer of the maps.
Declaration
object DataSource { get; }
Property Value
| Type |
|---|
| System.Object |
EnableSelection
Gets or sets a value indicate whether the selection is enabled or not.
Declaration
bool EnableSelection { get; }
Property Value
| Type |
|---|
| System.Boolean |
PrimaryValuePath
Gets or sets primary value for the data in the DataSource collection.
Declaration
string PrimaryValuePath { get; }
Property Value
| Type |
|---|
| System.String |
SelectedItems
Gets or sets to create instance of shape and sublayer collection.
Declaration
ObservableCollection<object> SelectedItems { get; }
Property Value
| Type |
|---|
| System.Collections.ObjectModel.ObservableCollection<System.Object> |
SelectedShapeFill
Gets or sets the brush that paints the interior of the selected shape.
Declaration
Brush SelectedShapeFill { get; }
Property Value
| Type |
|---|
| Microsoft.Maui.Controls.Brush |
SelectedShapeStroke
Gets or sets the Brush that specifies how the selected shape outline to be painted.
Declaration
Brush SelectedShapeStroke { get; }
Property Value
| Type |
|---|
| Microsoft.Maui.Controls.Brush |
SelectedShapeStrokeThickness
Gets or sets the value that specifies the width of the selected shape stroke outline.
Declaration
double SelectedShapeStrokeThickness { get; }
Property Value
| Type |
|---|
| System.Double |
SelectionMode
Gets or sets the selection type of the shape.
Declaration
MapSelectionMode SelectionMode { get; }
Property Value
| Type |
|---|
| MapSelectionMode |
ShapeColorValuePath
Gets or sets the field value to be fetched from data for each shape used to determine the shape color in the shape layer of the maps.
Declaration
string ShapeColorValuePath { get; }
Property Value
| Type |
|---|
| System.String |
ShapeDataField
Gets or sets the primary field name in the GeoJSON file or shapefile to identify each shape.
Declaration
string ShapeDataField { get; }
Property Value
| Type |
|---|
| System.String |
ShapeFill
Gets or sets the Brush that paints the interior of the shape.
Declaration
Brush ShapeFill { get; }
Property Value
| Type |
|---|
| Microsoft.Maui.Controls.Brush |
ShapeHoverFill
Gets or sets the Brush that paints the interior of the mouse hovered shape on desktop.
Declaration
Brush ShapeHoverFill { get; }
Property Value
| Type |
|---|
| Microsoft.Maui.Controls.Brush |
ShapeHoverStroke
Gets or sets the Brush that specifies how the mouse hovered shape outline to be painted on desktop.
Declaration
Brush ShapeHoverStroke { get; }
Property Value
| Type |
|---|
| Microsoft.Maui.Controls.Brush |
ShapeHoverStrokeThickness
Gets or sets the value that specifies the width of the mouse hovered shape stroke outline on desktop.
Declaration
double ShapeHoverStrokeThickness { get; }
Property Value
| Type |
|---|
| System.Double |
ShapeSelected
Called when the map shape is selecting or unselecting.
Declaration
EventHandler<ShapeSelectedEventArgs> ShapeSelected { get; }
Property Value
| Type |
|---|
| System.EventHandler<ShapeSelectedEventArgs> |
ShapesSource
Gets or sets the source of the map shapes. The shape source can be set as the GeoJSON file or shapefile from the local file, URL, stream or embedded resource path.
Declaration
MapSource ShapesSource { get; }
Property Value
| Type |
|---|
| MapSource |
ShapeStroke
Gets or sets the Brush that specifies how the shape outline to be painted.
Declaration
Brush ShapeStroke { get; }
Property Value
| Type |
|---|
| Microsoft.Maui.Controls.Brush |
ShapeStrokeThickness
Gets or sets the value that specifies the width of the shape stroke outline.
Declaration
double ShapeStrokeThickness { get; }
Property Value
| Type |
|---|
| System.Double |
ShapeTooltipSettings
Gets or sets shape tooltip settings that allows to customize the shape tooltip appearance.
Declaration
MapTooltipSettings ShapeTooltipSettings { get; }
Property Value
| Type |
|---|
| MapTooltipSettings |
ShapeTooltipTemplate
Gets or sets the data template to customize the visual representation of shape tooltip.
Declaration
DataTemplate ShapeTooltipTemplate { get; }
Property Value
| Type |
|---|
| Microsoft.Maui.Controls.DataTemplate |
ShowBubbles
Gets or sets a value indicating whether bubbles will be showed or not.
Declaration
bool ShowBubbles { get; }
Property Value
| Type |
|---|
| System.Boolean |
ShowBubbleTooltip
Gets or sets a value indicating whether the buble tooltip will be showed or not.
Declaration
bool ShowBubbleTooltip { get; }
Property Value
| Type |
|---|
| System.Boolean |
ShowDataLabels
Gets or sets a value indicating whether data labels will be showed or not.
Declaration
bool ShowDataLabels { get; }
Property Value
| Type |
|---|
| System.Boolean |
ShowShapeTooltip
Gets or sets a value indicating whether the shape tooltip will be showed or not.
Declaration
bool ShowShapeTooltip { get; }
Property Value
| Type |
|---|
| System.Boolean |