Class SFShapeFileLayer
Inherited Members
Namespace: Syncfusion.SfMaps.iOS
Assembly: Syncfusion.SfMaps.iOS.dll
Syntax
public class SFShapeFileLayer : MapLayer
Constructors
SFShapeFileLayer()
Initializes a new instance of the SFShapeFileLayer class.
Declaration
public SFShapeFileLayer()
Properties
BubbleMarkerSetting
Gets or sets the bubble marker setting.
Declaration
public SFBubbleMarkerSetting BubbleMarkerSetting { get; set; }
Property Value
Type | Description |
---|---|
SFBubbleMarkerSetting | The bubble marker setting. |
DataLabelSettings
Gets or sets the data label setting.
Declaration
public SFDataLabelSetting DataLabelSettings { get; set; }
Property Value
Type | Description |
---|---|
SFDataLabelSetting | The data label setting. |
DataSource
Gets or sets the data source.
Declaration
public object DataSource { get; set; }
Property Value
Type | Description |
---|---|
System.Object | The data source. |
EnableSelection
Gets or sets a value indicating whether this SFShapeFileLayer enable selection.
Declaration
public bool EnableSelection { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
GeometryType
Gets or sets the type of the geometry.
Declaration
public SFGeometryType GeometryType { get; set; }
Property Value
Type | Description |
---|---|
SFGeometryType | The type of the geometry. |
LegendSettings
Gets or sets the legend settings.
Declaration
public SFMapLegendSettings LegendSettings { get; set; }
Property Value
Type | Description |
---|---|
SFMapLegendSettings | The legend settings. |
MapPointHorizontalAlignment
Gets or sets the horizontal alignment.
Declaration
public MarkerAlignment MapPointHorizontalAlignment { get; set; }
Property Value
Type |
---|
MarkerAlignment |
MapPointIcon
Gets or sets the map point icon.
Declaration
public SFMapPointIcon MapPointIcon { get; set; }
Property Value
Type | Description |
---|---|
SFMapPointIcon | The map point icon. |
MapPointIconSize
Gets or sets the size of the map point icon.
Declaration
public double MapPointIconSize { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The size of the map point icon. |
MapPointVerticalAlignment
Declaration
public MarkerAlignment MapPointVerticalAlignment { get; set; }
Property Value
Type |
---|
MarkerAlignment |
Points
Gets or sets the collection of polyline points. It is used to draw multi line over the map by using the points.
Declaration
public ObservableCollection<CGPoint> Points { get; set; }
Property Value
Type |
---|
System.Collections.ObjectModel.ObservableCollection<CoreGraphics.CGPoint> |
SelectedItems
Gets or sets the selected items.
Declaration
public ObservableCollection<object> SelectedItems { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.ObjectModel.ObservableCollection<System.Object> | The selected items. |
SelectionMode
Gets or sets the selection mode.
Declaration
public SFSelectionMode SelectionMode { get; set; }
Property Value
Type | Description |
---|---|
SFSelectionMode | The selection mode. |
ShapeIDPath
Gets or sets the shape ID Path.
Declaration
public NSString ShapeIDPath { get; set; }
Property Value
Type | Description |
---|---|
Foundation.NSString | The shape ID Path. |
ShapeIDTableField
Gets or sets the shape IDT able field.
Declaration
public NSString ShapeIDTableField { get; set; }
Property Value
Type | Description |
---|---|
Foundation.NSString | The shape IDT able field. |
ShapeReader
Gets or sets the shape reader.
Declaration
public SFShapeFileReader ShapeReader { get; }
Property Value
Type | Description |
---|---|
SFShapeFileReader | The shape reader. |
ShapeSettings
Gets or sets the shape settings.
Declaration
public SFShapeSetting ShapeSettings { get; set; }
Property Value
Type | Description |
---|---|
SFShapeSetting | The shape settings. |
ShapeType
Gets or sets the type of Points. It is used to define the type of points in the collection.
Declaration
public ShapeType ShapeType { get; set; }
Property Value
Type |
---|
ShapeType |
ShowMapItems
Gets or sets a value indicating whether this SFShapeFileLayer show map items.
Declaration
public bool ShowMapItems { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
TooltipSettings
Gets or sets the tooltip settings
Declaration
public TooltipSetting TooltipSettings { get; set; }
Property Value
Type |
---|
TooltipSetting |
Uri
Gets or sets the URI.
Declaration
public NSString Uri { get; set; }
Property Value
Type | Description |
---|---|
Foundation.NSString | The URI. |
Methods
ReadAsStream(Stream)
Reads the shape file from stream.
Declaration
public void ReadAsStream(Stream stream)
Parameters
Type | Name | Description |
---|---|---|
System.IO.Stream | stream | shape file stream |
ReadAsStream(Stream, Stream)
To read the shape file and dbf file stream
Declaration
public void ReadAsStream(Stream shapeFileStream, Stream dbfFileStream)
Parameters
Type | Name | Description |
---|---|---|
System.IO.Stream | shapeFileStream | stream contains shape file data |
System.IO.Stream | dbfFileStream | stream contains dbf file data |
RefreshMarkerSetting()
To refresh the marker setting
Declaration
protected override void RefreshMarkerSetting()
Overrides
Events
ShapeSelectionChanged
Occur when shapes is selected.
Declaration
public event EventHandler<ShapeSelectedEventArgs> ShapeSelectionChanged
Event Type
Type |
---|
System.EventHandler<ShapeSelectedEventArgs> |