IEditInteractiveOverlayAdapter¶
Namespace: ThinkGeo.UI.XamarinForms.Adapters
This class inherits from InterativeOverlay abstract class. This specified overlay describle the EditShape interative process with MapControl using Mouse or Keyborad.
public interface IEditInteractiveOverlayAdapter : IOverlayAdapter, IMapElementAdapter
Implements IOverlayAdapter, IMapElementAdapter
Properties¶
EditShapesLayer¶
This property gets the InMemoryFeatureLayer which holds the edit shapes.
public abstract InMemoryFeatureLayer EditShapesLayer { get; }
Property Value¶
InMemoryFeatureLayer
CanReshape¶
Gets a value which indicates whether the shape can be reshaped.
public abstract bool CanReshape { get; set; }
Property Value¶
Boolean
true if this instance can reshape; otherwise, false.
CanResize¶
Gets a value which indicates whether the shape can be resized.
public abstract bool CanResize { get; set; }
Property Value¶
Boolean
true if this instance can resize; otherwise, false.
CanRotate¶
Gets a value which indicates whether the shape can be rotated.
public abstract bool CanRotate { get; set; }
Property Value¶
Boolean
true if this instance can rotate; otherwise, false.
CanDrag¶
Gets a value which indicates whether the shape can be dragged.
public abstract bool CanDrag { get; set; }
Property Value¶
Boolean
true if this instance can drag; otherwise, false.
Methods¶
ClearAllControlPoints()¶
This method clears all control points in corresponding layer.
void ClearAllControlPoints()
CalculateAllControlPoints()¶
This method calculates all control points.
void CalculateAllControlPoints()
Remarks:
First, it will clear all control points. Then it will calculate each control points according to their settings.