menu

Xamarin.iOS

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class SFMapMarker - API Reference

    Show / Hide Table of Contents

    Class SFMapMarker

    Inheritance
    System.Object
    SFMapMarker
    Namespace: Syncfusion.SfMaps.iOS
    Assembly: Syncfusion.SfMaps.iOS.dll
    Syntax
    public class SFMapMarker : NSObject

    Constructors

    SFMapMarker()

    Initializes a new instance of the SFMapMarker class.

    Declaration
    public SFMapMarker()

    Properties

    Label

    Gets or sets the Text that displays some information about the annotation in text format.

    Declaration
    public NSString Label { get; set; }
    Property Value
    Type Description
    Foundation.NSString

    The label.

    Latitude

    Gets or sets the latitude point which determine the Y-axis position of marker.

    Declaration
    public double Latitude { get; set; }
    Property Value
    Type Description
    System.Double

    The latitude.

    Longitude

    Gets or sets the Longitude point which determine the X-axis position of marker.

    Declaration
    public double Longitude { get; set; }
    Property Value
    Type Description
    System.Double

    The longitude.

    Methods

    GetPoint()

    To get the point

    Declaration
    public virtual CGPoint GetPoint()
    Returns
    Type Description
    CoreGraphics.CGPoint

    returns the point

    GetView(CGPoint)

    To get the view

    Declaration
    public virtual UIView GetView(CGPoint bounds)
    Parameters
    Type Name Description
    CoreGraphics.CGPoint bounds

    To set the value for points

    Returns
    Type Description
    UIKit.UIView

    returns the view

    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved