menu

Xamarin.Android

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ShapeFileLayer - Xamarin.Android API Reference | Syncfusion

    Show / Hide Table of Contents

    Class ShapeFileLayer

    Class implementation of ShapeFileLayer

    Inheritance
    System.Object
    MapLayer
    ShapeFileLayer
    SubShapeFileLayer
    Inherited Members
    MapLayer.GeopointToViewPoint(Double, Double)
    MapLayer.GetLatLonFromPoint(PointF)
    MapLayer.Markers
    MapLayer.MarkerSelected
    MapLayer.MarkerSetting
    MapLayer.ResetOldSelectedView
    MapLayer.SubShapeFileLayers
    Namespace: Com.Syncfusion.Maps
    Assembly: Syncfusion.SfMaps.Android.dll
    Syntax
    public class ShapeFileLayer : MapLayer

    Constructors

    ShapeFileLayer()

    Initializes a new instance of the ShapeFileLayer class.

    Declaration
    public ShapeFileLayer()

    Properties

    BubbleMarkerSetting

    Gets or sets the bubble markers settings to map.

    Declaration
    public BubbleMarkerSetting BubbleMarkerSetting { get; set; }
    Property Value
    Type
    BubbleMarkerSetting

    DataLabelSettings

    Gets or sets the data label settings to map.

    Declaration
    public DataLabelSetting DataLabelSettings { get; set; }
    Property Value
    Type
    DataLabelSetting

    DataSource

    Gets or sets the data source of shape file layer

    Declaration
    public object DataSource { get; set; }
    Property Value
    Type
    System.Object

    EnableSelection

    Gets or sets a value indicating whether to enable selection or not.

    Declaration
    public bool EnableSelection { get; set; }
    Property Value
    Type
    System.Boolean

    GeometryType

    Gets or sets the GeometryType.

    Declaration
    public GeometryType GeometryType { get; set; }
    Property Value
    Type
    GeometryType

    LegendSetting

    Gets or sets the legend setting value to map.

    Declaration
    public LegendSetting LegendSetting { get; set; }
    Property Value
    Type
    LegendSetting

    MapPointHorizontalAlignment

    Gets or sets the value for horizontal alignment for map point

    Declaration
    public MarkerAlignment MapPointHorizontalAlignment { get; set; }
    Property Value
    Type
    MarkerAlignment

    MapPointIcon

    Gets or sets the MapPointIcon.

    Declaration
    public MapPointIcon MapPointIcon { get; set; }
    Property Value
    Type
    MapPointIcon

    MapPointIconSize

    Gets or sets the MapPointIconSize.

    Declaration
    public float MapPointIconSize { get; set; }
    Property Value
    Type
    System.Single

    MapPointVerticalAlignment

    Gets or sets the value for vertical alignment for map point

    Declaration
    public MarkerAlignment MapPointVerticalAlignment { get; set; }
    Property Value
    Type
    MarkerAlignment

    Points

    Gets or sets the collection of points. It is used to draw multi line over the map by using the points.

    Declaration
    public ObservableCollection<PointF> Points { get; set; }
    Property Value
    Type
    System.Collections.ObjectModel.ObservableCollection<Android.Graphics.PointF>

    Reader

    Gets to read the shape file

    Declaration
    public ShapeFileReader Reader { get; }
    Property Value
    Type
    ShapeFileReader

    SelectedItems

    Gets or sets the selected items.

    Declaration
    public ObservableCollection<object> SelectedItems { get; set; }
    Property Value
    Type
    System.Collections.ObjectModel.ObservableCollection<System.Object>

    SelectionMode

    Gets or sets the selection mode.

    Declaration
    public SelectionMode SelectionMode { get; set; }
    Property Value
    Type
    SelectionMode

    ShapeIdPath

    Gets or sets the shape id path.

    Declaration
    public string ShapeIdPath { get; set; }
    Property Value
    Type
    System.String

    ShapeIdTableField

    Gets or sets the shape id table field.

    Declaration
    public string ShapeIdTableField { get; set; }
    Property Value
    Type
    System.String

    ShapeSettings

    Gets or sets the shape settings to map.

    Declaration
    public ShapeSetting ShapeSettings { get; set; }
    Property Value
    Type
    ShapeSetting

    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

    ShowItems

    Gets or sets a value indicating whether the item to be shown or not.

    Declaration
    public bool ShowItems { get; set; }
    Property Value
    Type
    System.Boolean

    TooltipSettings

    Gets or sets the TooltipSettings for shapeLayer

    Declaration
    public TooltipSetting TooltipSettings { get; set; }
    Property Value
    Type
    TooltipSetting

    Uri

    Gets or sets the location of shape file layer

    Declaration
    public string Uri { get; set; }
    Property Value
    Type
    System.String

    Methods

    NavigateTo(Double, Double, Double)

    Method used to navigation

    Declaration
    public void NavigateTo(double latitude, double longitude, double factor)
    Parameters
    Type Name Description
    System.Double latitude

    to get latitude

    System.Double longitude

    to get longitude

    System.Double factor

    to get factor

    ReadAsJsonStream(Stream)

    To read the stream contains shape file

    Declaration
    public void ReadAsJsonStream(Stream stream)
    Parameters
    Type Name Description
    System.IO.Stream stream

    shape file data

    ReadAsStream(Stream)

    To read the stream contains shape file

    Declaration
    public void ReadAsStream(Stream stream)
    Parameters
    Type Name Description
    System.IO.Stream stream

    stream contains shape file data

    ReadAsStream(Stream, Stream)

    To read the stream contains shape file and dbf file data

    Declaration
    public void ReadAsStream(Stream shapeFileStream, Stream dbfFileStream)
    Parameters
    Type Name Description
    System.IO.Stream shapeFileStream

    shape file data

    System.IO.Stream dbfFileStream

    dbf file data

    SelectShape(Object)

    To select the shape

    Declaration
    public void SelectShape(object obj)
    Parameters
    Type Name Description
    System.Object obj

    to get the object

    Events

    PointSelected

    Event is triggered when shape file point is selected

    Declaration
    public event EventHandler<ShapeFileLayer.PointSelectedEventArgs> PointSelected
    Event Type
    Type
    System.EventHandler<ShapeFileLayer.PointSelectedEventArgs>

    ShapeSelected

    Event is triggered when shape file layer shape is selected

    Declaration
    public event EventHandler<ShapeFileLayer.ShapeSelectedEventArgs> ShapeSelected
    Event Type
    Type
    System.EventHandler<ShapeFileLayer.ShapeSelectedEventArgs>
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved