Class Pin
Inheritance
System.Object
Xamarin.Forms.BindableObject
Pin
Implements
System.ComponentModel.INotifyPropertyChanged
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()
Assembly: Mapsui.UI.Forms.dll
public class Pin : BindableObject, INotifyPropertyChanged, IDynamicResourceHandler, IFeatureProvider
Constructors
|
Improve this Doc
View Source
Initializes a new instance of the Pin class
Declaration
|
Improve this Doc
View Source
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
Declaration
public static readonly BindableProperty AddressProperty
Field Value
Type |
Description |
Xamarin.Forms.BindableProperty |
|
|
Improve this Doc
View Source
Declaration
public static readonly BindableProperty AnchorProperty
Field Value
Type |
Description |
Xamarin.Forms.BindableProperty |
|
|
Improve this Doc
View Source
Declaration
public static readonly BindableProperty ColorProperty
Field Value
Type |
Description |
Xamarin.Forms.BindableProperty |
|
|
Improve this Doc
View Source
Declaration
public static readonly BindableProperty HeightProperty
Field Value
Type |
Description |
Xamarin.Forms.BindableProperty |
|
|
Improve this Doc
View Source
Declaration
public static readonly BindableProperty IconProperty
Field Value
Type |
Description |
Xamarin.Forms.BindableProperty |
|
|
Improve this Doc
View Source
Declaration
public static readonly BindableProperty IsVisibleProperty
Field Value
Type |
Description |
Xamarin.Forms.BindableProperty |
|
|
Improve this Doc
View Source
Declaration
public static readonly BindableProperty LabelProperty
Field Value
Type |
Description |
Xamarin.Forms.BindableProperty |
|
|
Improve this Doc
View Source
Declaration
public static readonly BindableProperty MaxVisibleProperty
Field Value
Type |
Description |
Xamarin.Forms.BindableProperty |
|
|
Improve this Doc
View Source
Declaration
public static readonly BindableProperty MinVisibleProperty
Field Value
Type |
Description |
Xamarin.Forms.BindableProperty |
|
|
Improve this Doc
View Source
Declaration
public static readonly BindableProperty PositionProperty
Field Value
Type |
Description |
Xamarin.Forms.BindableProperty |
|
|
Improve this Doc
View Source
Declaration
public static readonly BindableProperty RotateWithMapProperty
Field Value
Type |
Description |
Xamarin.Forms.BindableProperty |
|
|
Improve this Doc
View Source
Declaration
public static readonly BindableProperty RotationProperty
Field Value
Type |
Description |
Xamarin.Forms.BindableProperty |
|
|
Improve this Doc
View Source
Declaration
public static readonly BindableProperty ScaleProperty
Field Value
Type |
Description |
Xamarin.Forms.BindableProperty |
|
|
Improve this Doc
View Source
Declaration
public static readonly BindableProperty SvgProperty
Field Value
Type |
Description |
Xamarin.Forms.BindableProperty |
|
|
Improve this Doc
View Source
Declaration
public static readonly BindableProperty TransparencyProperty
Field Value
Type |
Description |
Xamarin.Forms.BindableProperty |
|
|
Improve this Doc
View Source
Declaration
public static readonly BindableProperty TypeProperty
Field Value
Type |
Description |
Xamarin.Forms.BindableProperty |
|
|
Improve this Doc
View Source
Declaration
public static readonly BindableProperty WidthProperty
Field Value
Type |
Description |
Xamarin.Forms.BindableProperty |
|
Properties
|
Improve this Doc
View Source
Adress (like street) of pin
Declaration
public string Address { get; set; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Anchor of bitmap in pixel
Declaration
public Point Anchor { get; set; }
Property Value
Type |
Description |
Xamarin.Forms.Point |
|
|
Improve this Doc
View Source
Declaration
public Callout Callout { get; }
Property Value
Type |
Description |
Callout |
Callout for this pin
|
|
Improve this Doc
View Source
Declaration
public Color Color { get; set; }
Property Value
Type |
Description |
Xamarin.Forms.Color |
|
|
Improve this Doc
View Source
Mapsui feature for this pin
Declaration
public Feature Feature { get; }
Property Value
Type |
Description |
Feature |
Mapsui feature
|
|
Improve this Doc
View Source
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
Byte[] holding the bitmap informations
Declaration
public byte[] Icon { get; set; }
Property Value
Type |
Description |
System.Byte[] |
|
|
Improve this Doc
View Source
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
Declaration
public string Label { get; set; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
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 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 of pin, place where anchor is
Declaration
public Position Position { get; set; }
Property Value
|
Improve this Doc
View Source
When true a symbol will rotate along with the rotation of the map.
The default is false.
Declaration
public bool RotateWithMap { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Rotation in degrees around the anchor point
Declaration
public float Rotation { get; set; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
Declaration
public float Scale { get; set; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
String holding the Svg image informations
Declaration
public string Svg { get; set; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Declaration
public object Tag { get; set; }
Property Value
Type |
Description |
System.Object |
|
|
Improve this Doc
View Source
Declaration
public float Transparency { get; set; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
Type of pin. There are some predefined pins.
Declaration
public PinType Type { get; set; }
Property Value
|
Improve this Doc
View Source
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
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
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Overrides
System.Object.GetHashCode()
|
Improve this Doc
View Source
Hide corresponding callout
Declaration
public void HideCallout()
|
Improve this Doc
View Source
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
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
Show corresponding callout
Declaration
public void ShowCallout()
Operators
|
Improve this Doc
View Source
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
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