Show / Hide Table of Contents

    Class Pin

    Inheritance
    System.Object
    Xamarin.Forms.BindableObject
    Pin
    Implements
    System.ComponentModel.INotifyPropertyChanged
    IFeatureProvider
    Inherited Members
    Xamarin.Forms.BindableObject.BindingContextProperty
    Xamarin.Forms.BindableObject.ClearValue(Xamarin.Forms.BindableProperty)
    Xamarin.Forms.BindableObject.ClearValue(Xamarin.Forms.BindablePropertyKey)
    Xamarin.Forms.BindableObject.GetValue(Xamarin.Forms.BindableProperty)
    Xamarin.Forms.BindableObject.IsSet(Xamarin.Forms.BindableProperty)
    Xamarin.Forms.BindableObject.RemoveBinding(Xamarin.Forms.BindableProperty)
    Xamarin.Forms.BindableObject.SetBinding(Xamarin.Forms.BindableProperty, Xamarin.Forms.BindingBase)
    Xamarin.Forms.BindableObject.ApplyBindings()
    Xamarin.Forms.BindableObject.OnBindingContextChanged()
    Xamarin.Forms.BindableObject.OnPropertyChanging(System.String)
    Xamarin.Forms.BindableObject.UnapplyBindings()
    Xamarin.Forms.BindableObject.SetValue(Xamarin.Forms.BindableProperty, System.Object)
    Xamarin.Forms.BindableObject.SetValue(Xamarin.Forms.BindablePropertyKey, System.Object)
    Xamarin.Forms.BindableObject.CoerceValue(Xamarin.Forms.BindableProperty)
    Xamarin.Forms.BindableObject.CoerceValue(Xamarin.Forms.BindablePropertyKey)
    Xamarin.Forms.BindableObject.Dispatcher
    Xamarin.Forms.BindableObject.BindingContext
    Xamarin.Forms.BindableObject.PropertyChanged
    Xamarin.Forms.BindableObject.PropertyChanging
    Xamarin.Forms.BindableObject.BindingContextChanged
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Mapsui.UI.Forms
    Assembly: Mapsui.UI.Forms.dll
    Syntax
    public class Pin : BindableObject, INotifyPropertyChanged, IDynamicResourceHandler, IFeatureProvider

    Constructors

    | Improve this Doc View Source

    Pin()

    Initializes a new instance of the Pin class

    Declaration
    public Pin()
    | Improve this Doc View Source

    Pin(MapView)

    Initializes a new instance of the Pin class

    Declaration
    public Pin(MapView mapView)
    Parameters
    Type Name Description
    MapView mapView

    MapView to which this pin belongs

    Fields

    | Improve this Doc View Source

    AddressProperty

    Declaration
    public static readonly BindableProperty AddressProperty
    Field Value
    Type Description
    Xamarin.Forms.BindableProperty
    | Improve this Doc View Source

    AnchorProperty

    Declaration
    public static readonly BindableProperty AnchorProperty
    Field Value
    Type Description
    Xamarin.Forms.BindableProperty
    | Improve this Doc View Source

    ColorProperty

    Declaration
    public static readonly BindableProperty ColorProperty
    Field Value
    Type Description
    Xamarin.Forms.BindableProperty
    | Improve this Doc View Source

    HeightProperty

    Declaration
    public static readonly BindableProperty HeightProperty
    Field Value
    Type Description
    Xamarin.Forms.BindableProperty
    | Improve this Doc View Source

    IconProperty

    Declaration
    public static readonly BindableProperty IconProperty
    Field Value
    Type Description
    Xamarin.Forms.BindableProperty
    | Improve this Doc View Source

    IsVisibleProperty

    Declaration
    public static readonly BindableProperty IsVisibleProperty
    Field Value
    Type Description
    Xamarin.Forms.BindableProperty
    | Improve this Doc View Source

    LabelProperty

    Declaration
    public static readonly BindableProperty LabelProperty
    Field Value
    Type Description
    Xamarin.Forms.BindableProperty
    | Improve this Doc View Source

    MaxVisibleProperty

    Declaration
    public static readonly BindableProperty MaxVisibleProperty
    Field Value
    Type Description
    Xamarin.Forms.BindableProperty
    | Improve this Doc View Source

    MinVisibleProperty

    Declaration
    public static readonly BindableProperty MinVisibleProperty
    Field Value
    Type Description
    Xamarin.Forms.BindableProperty
    | Improve this Doc View Source

    PositionProperty

    Declaration
    public static readonly BindableProperty PositionProperty
    Field Value
    Type Description
    Xamarin.Forms.BindableProperty
    | Improve this Doc View Source

    RotationProperty

    Declaration
    public static readonly BindableProperty RotationProperty
    Field Value
    Type Description
    Xamarin.Forms.BindableProperty
    | Improve this Doc View Source

    ScaleProperty

    Declaration
    public static readonly BindableProperty ScaleProperty
    Field Value
    Type Description
    Xamarin.Forms.BindableProperty
    | Improve this Doc View Source

    SvgProperty

    Declaration
    public static readonly BindableProperty SvgProperty
    Field Value
    Type Description
    Xamarin.Forms.BindableProperty
    | Improve this Doc View Source

    TransparencyProperty

    Declaration
    public static readonly BindableProperty TransparencyProperty
    Field Value
    Type Description
    Xamarin.Forms.BindableProperty
    | Improve this Doc View Source

    TypeProperty

    Declaration
    public static readonly BindableProperty TypeProperty
    Field Value
    Type Description
    Xamarin.Forms.BindableProperty
    | Improve this Doc View Source

    WidthProperty

    Declaration
    public static readonly BindableProperty WidthProperty
    Field Value
    Type Description
    Xamarin.Forms.BindableProperty

    Properties

    | Improve this Doc View Source

    Address

    Adress (like street) of pin

    Declaration
    public string Address { get; set; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    Anchor

    Anchor of bitmap in pixel

    Declaration
    public Point Anchor { get; set; }
    Property Value
    Type Description
    Xamarin.Forms.Point
    | Improve this Doc View Source

    Callout

    Gets the callout

    Declaration
    public Callout Callout { get; }
    Property Value
    Type Description
    Callout

    Callout for this pin

    | Improve this Doc View Source

    Color

    Color of pin

    Declaration
    public Color Color { get; set; }
    Property Value
    Type Description
    Xamarin.Forms.Color
    | Improve this Doc View Source

    Feature

    Mapsui feature for this pin

    Declaration
    public Feature Feature { get; }
    Property Value
    Type Description
    Feature

    Mapsui feature

    | Improve this Doc View Source

    Height

    Height of the bitmap after scaling, if there is one, if not, than -1

    Declaration
    public double Height { get; }
    Property Value
    Type Description
    System.Double
    | Improve this Doc View Source

    Icon

    Byte[] holding the bitmap informations

    Declaration
    public byte[] Icon { get; set; }
    Property Value
    Type Description
    System.Byte[]
    | Improve this Doc View Source

    IsVisible

    Determins, if the pin is drawn on map

    Declaration
    public bool IsVisible { get; set; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    Label

    Label of pin

    Declaration
    public string Label { get; set; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    MaxVisible

    MaxVisible for pin in resolution of Mapsui (smaller values are higher zoom levels)

    Declaration
    public double MaxVisible { get; set; }
    Property Value
    Type Description
    System.Double
    | Improve this Doc View Source

    MinVisible

    MinVisible for pin in resolution of Mapsui (smaller values are higher zoom levels)

    Declaration
    public double MinVisible { get; set; }
    Property Value
    Type Description
    System.Double
    | Improve this Doc View Source

    Position

    Position of pin, place where anchor is

    Declaration
    public Position Position { get; set; }
    Property Value
    Type Description
    Position
    | Improve this Doc View Source

    Rotation

    Rotation in degrees around the anchor point

    Declaration
    public float Rotation { get; set; }
    Property Value
    Type Description
    System.Single
    | Improve this Doc View Source

    Scale

    Scaling of pin

    Declaration
    public float Scale { get; set; }
    Property Value
    Type Description
    System.Single
    | Improve this Doc View Source

    Svg

    String holding the Svg image informations

    Declaration
    public string Svg { get; set; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    Tag

    Tag holding free data

    Declaration
    public object Tag { get; set; }
    Property Value
    Type Description
    System.Object
    | Improve this Doc View Source

    Transparency

    Transparency of pin

    Declaration
    public float Transparency { get; set; }
    Property Value
    Type Description
    System.Single
    | Improve this Doc View Source

    Type

    Type of pin. There are some predefined pins.

    Declaration
    public PinType Type { get; set; }
    Property Value
    Type Description
    PinType
    | Improve this Doc View Source

    Width

    Width of the bitmap after scaling, if there is one, if not, than -1

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

    Methods

    | Improve this Doc View Source

    Equals(Object)

    Determines whether the specified System.Object is equal to the current Pin.

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    System.Object obj

    The System.Object to compare with the current Pin.

    Returns
    Type Description
    System.Boolean

    true if the specified System.Object is equal to the current Pin; otherwise, false.

    Overrides
    System.Object.Equals(System.Object)
    | Improve this Doc View Source

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    System.Int32
    Overrides
    System.Object.GetHashCode()
    | Improve this Doc View Source

    HideCallout()

    Hide corresponding callout

    Declaration
    public void HideCallout()
    | Improve this Doc View Source

    IsCalloutVisible()

    Check visibility for corresponding callout

    Declaration
    public bool IsCalloutVisible()
    Returns
    Type Description
    System.Boolean

    True, if callout is visible on map

    | Improve this Doc View Source

    OnPropertyChanged(String)

    Declaration
    protected override void OnPropertyChanged(string propertyName = null)
    Parameters
    Type Name Description
    System.String propertyName
    Overrides
    Xamarin.Forms.BindableObject.OnPropertyChanged(System.String)
    | Improve this Doc View Source

    ShowCallout()

    Show corresponding callout

    Declaration
    public void ShowCallout()

    Operators

    | Improve this Doc View Source

    Equality(Pin, Pin)

    Declaration
    public static bool operator ==(Pin left, Pin right)
    Parameters
    Type Name Description
    Pin left
    Pin right
    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    Inequality(Pin, Pin)

    Declaration
    public static bool operator !=(Pin left, Pin right)
    Parameters
    Type Name Description
    Pin left
    Pin right
    Returns
    Type Description
    System.Boolean

    Implements

    System.ComponentModel.INotifyPropertyChanged
    IFeatureProvider
    • Improve this Doc
    • View Source
    Back to top Generated by DocFX