IMarkerAdapter¶
Namespace: ThinkGeo.UI.XamarinForms.Adapters
Represents a marker control on the map.
public interface IMarkerAdapter : IMapElementAdapter
Implements IMapElementAdapter
Remarks:
Options for scaling the bounds of an image to the bounds of this view. [Android Documentation]
Properties¶
XOffset¶
Gets or sets the x offset.
public abstract int XOffset { get; set; }
Property Value¶
Int32
The x offset.
YOffset¶
Gets or sets the y offset.
public abstract int YOffset { get; set; }
Property Value¶
Int32
The y offset.
Width¶
Gets or sets the width of the Marker.
public abstract float Width { get; set; }
Property Value¶
Single
The Width.
Height¶
Gets or sets the height of the Marker.
public abstract float Height { get; set; }
Property Value¶
Single
The Height.
Position¶
World Position of marker. It's a wrapper of the PositionProperty.
public abstract PointShape Position { get; set; }
Property Value¶
PointShape
ImageSource¶
Gets or sets the image source.
public abstract string ImageSource { get; set; }
Property Value¶
String
The image source.
TagObject¶
public abstract object TagObject { get; set; }
Property Value¶
Events¶
Click¶
Occurs when [click].
public abstract event EventHandler<EventArgs> Click;
LoadingFromResource¶
public abstract event EventHandler<LoadingFromResourceMarkerEventArgs> LoadingFromResource;