Skip to content

TrackInteractiveOverlay

Namespace: ThinkGeo.UI.XamarinForms

This class inherits from InterativeOverlay abstract class. This specified overlay describle the TrackShape interative process with MapControl using Mouse or Keyborad.

public class TrackInteractiveOverlay : InteractiveOverlay`1, ThinkGeo.UI.XamarinForms.Adapters.IMapElementAdaptable`1[[ThinkGeo.UI.XamarinForms.Adapters.ITrackInteractiveOverlayAdapter, ThinkGeo.UI.XamarinForms, Version=13.0.0.0, Culture=neutral, PublicKeyToken=null]]

Inheritance ObjectOverlayOverlay<ITrackInteractiveOverlayAdapter>InteractiveOverlay<ITrackInteractiveOverlayAdapter>TrackInteractiveOverlay
Implements IMapElementAdaptable<ITrackInteractiveOverlayAdapter>

Properties

TrackMode

Gets a mode of TrackOverlay.

public TrackMode TrackMode { get; set; }

Property Value

TrackMode
A mode of TrackOverlay.

Remarks:

The default mode is TrackMode.None which means you cannot draw or edit features at client. By setting the mode to TrackMode.Point, TrackMode.Line, TrackMode.Polygon etc., you could add point, line or polygon to the FeatureOverlay. Setting the mode to TrackMode.Edit, you could edit the shapes at the client side.

IsInTracking

public bool IsInTracking { get; set; }

Property Value

Boolean

TrackShapeLayer

This property gets the TrackShape layers which holds the track shapes.

public InMemoryFeatureLayer TrackShapeLayer { get; }

Property Value

InMemoryFeatureLayer

Adapter

Gets the adapter.

public ITrackInteractiveOverlayAdapter Adapter { get; set; }

Property Value

ITrackInteractiveOverlayAdapter
The adapter.

IsVisible

public bool IsVisible { get; set; }

Property Value

Boolean

Name

public string Name { get; set; }

Property Value

String

Opacity

public double Opacity { get; set; }

Property Value

Double

Constructors

TrackInteractiveOverlay()

Initializes a new instance of the TrackInteractiveOverlay class.

public TrackInteractiveOverlay()

TrackInteractiveOverlay(ITrackInteractiveOverlayAdapter)

Initializes a new instance of the TrackInteractiveOverlay class.

public TrackInteractiveOverlay(ITrackInteractiveOverlayAdapter adapter)

Parameters

adapter ITrackInteractiveOverlayAdapter
Represents interactiveOverlay adapter.

Methods

OnTrackEnded(TrackEndedTrackInteractiveOverlayEventArgs)

Handles the event.

protected void OnTrackEnded(TrackEndedTrackInteractiveOverlayEventArgs e)

Parameters

e TrackEndedTrackInteractiveOverlayEventArgs
The instance containing the event data.

OnTrackEnding(TrackEndingTrackInteractiveOverlayEventArgs)

Handles the event.

protected void OnTrackEnding(TrackEndingTrackInteractiveOverlayEventArgs e)

Parameters

e TrackEndingTrackInteractiveOverlayEventArgs
The instance containing the event data.

OnTrackStarted(TrackStartedTrackInteractiveOverlayEventArgs)

Handles the event.

protected void OnTrackStarted(TrackStartedTrackInteractiveOverlayEventArgs e)

Parameters

e TrackStartedTrackInteractiveOverlayEventArgs
The instance containing the event data.

OnTrackStarting(TrackStartingTrackInteractiveOverlayEventArgs)

Handles the event.

protected void OnTrackStarting(TrackStartingTrackInteractiveOverlayEventArgs e)

Parameters

e TrackStartingTrackInteractiveOverlayEventArgs
The instance containing the event data.

OnVertexAdded(VertexAddedTrackInteractiveOverlayEventArgs)

Handles the event.

protected void OnVertexAdded(VertexAddedTrackInteractiveOverlayEventArgs e)

Parameters

e VertexAddedTrackInteractiveOverlayEventArgs
The instance containing the event data.

OnVertexAdding(VertexAddingTrackInteractiveOverlayEventArgs)

Handles the event.

protected void OnVertexAdding(VertexAddingTrackInteractiveOverlayEventArgs e)

Parameters

e VertexAddingTrackInteractiveOverlayEventArgs
The instance containing the event data.

OnMouseMoved(MouseMovedTrackInteractiveOverlayEventArgs)

Handles the event.

protected void OnMouseMoved(MouseMovedTrackInteractiveOverlayEventArgs e)

Parameters

e MouseMovedTrackInteractiveOverlayEventArgs
The instance containing the event data.

Events

TrackEnded

This event will be fired after the end of tracking shape.

public event EventHandler<TrackEndedTrackInteractiveOverlayEventArgs> TrackEnded;

TrackEnding

This event will be fired before the end of tracking shape.

public event EventHandler<TrackEndingTrackInteractiveOverlayEventArgs> TrackEnding;

TrackStarted

This event will be fired after the start of tracking shape.

public event EventHandler<TrackStartedTrackInteractiveOverlayEventArgs> TrackStarted;

TrackStarting

This event will be fired before the start of tracking shape.

public event EventHandler<TrackStartingTrackInteractiveOverlayEventArgs> TrackStarting;

VertexAdded

This event will be fired after a vertex added to the tracking shape.

public event EventHandler<VertexAddedTrackInteractiveOverlayEventArgs> VertexAdded;

VertexAdding

This event will be fired before a vertex added to the tracking shape.

public event EventHandler<VertexAddingTrackInteractiveOverlayEventArgs> VertexAdding;

MouseMoved

This event will be fired when mouse moved on the vertex of tracking shape.

public event EventHandler<MouseMovedTrackInteractiveOverlayEventArgs> MouseMoved;