ITrackInteractiveOverlayAdapter¶
Namespace: ThinkGeo.UI.XamarinForms.Adapters
This class inherits from InterativeOverlay abstract class. This specified overlay describle the TrackShape interative process with MapControl using Mouse or Keyborad.
public interface ITrackInteractiveOverlayAdapter : IOverlayAdapter, IMapElementAdapter
Implements IOverlayAdapter, IMapElementAdapter
Properties¶
TrackMode¶
Initializes a new instance of the ITrackInteractiveOverlayAdapter class.
public abstract 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 abstract bool IsInTracking { get; set; }
Property Value¶
TrackShapeLayer¶
This property gets the TrackShape layers which holds the track shapes.
public abstract InMemoryFeatureLayer TrackShapeLayer { get; }
Property Value¶
InMemoryFeatureLayer
Events¶
TrackEnded¶
This event will be fired after the end of tracking shape.
public abstract event EventHandler<TrackEndedTrackInteractiveOverlayEventArgs> TrackEnded;
TrackEnding¶
This event will be fired before the end of tracking shape.
public abstract event EventHandler<TrackEndingTrackInteractiveOverlayEventArgs> TrackEnding;
TrackStarted¶
This event will be fired after the start of tracking shape.
public abstract event EventHandler<TrackStartedTrackInteractiveOverlayEventArgs> TrackStarted;
TrackStarting¶
This event will be fired before the start of tracking shape.
public abstract event EventHandler<TrackStartingTrackInteractiveOverlayEventArgs> TrackStarting;
VertexAdded¶
This event will be fired after a vertex added to the tracking shape.
public abstract event EventHandler<VertexAddedTrackInteractiveOverlayEventArgs> VertexAdded;
VertexAdding¶
This event will be fired before a vertex added to the tracking shape.
public abstract event EventHandler<VertexAddingTrackInteractiveOverlayEventArgs> VertexAdding;
MouseMoved¶
This event will be fired when mouse moved on the vertex of tracking shape.
public abstract event EventHandler<MouseMovedTrackInteractiveOverlayEventArgs> MouseMoved;