User Tools

Site Tools


thinkgeo.mapsuite.formsedition.adapters.editinteractiveoverlayadapter

ThinkGeo.MapSuite.FormsEdition.Adapters.EditInteractiveOverlayAdapter

Note: The page was created before Map Suite 10. Map Suite 10.0 organized many classes into new namespaces and assemblies as well as had a few minor breaks in compatibility. The majority of previously built code should work without modification assuming the new namespaces are added. For guidance on upgrading your existing code, please check out MapSuite 10 Upgrade Guide.

<!– Class –> This class inherits from InterativeOverlay abstract class. This specified overlay describle the EditShape interative process with MapControl using Mouse or Keyborad.

Inheritance Hierarchy

Members Summary

Public Constructors

Name Parameters DeclaringType Summary

Protected Constructors

Name Parameters DeclaringType Summary
Protected MethodEditInteractiveOverlayAdapter Initializes a new instance of the class.

Public Methods

Name Parameters DeclaringType Summary
Public MethodCalculateAllControlPoints This method calculates all control points.
Public MethodClearAllControlPoints This method clears all control points in corresponding layer.
Public MethodCreateConcrete MapElementAdapter Creates the concrete.
Public MethodEquals Object Object
Public MethodGetBoundingBox OverlayAdapter
Public MethodGetHashCode Object
Public MethodGetType Object
Public MethodRefresh OverlayAdapter This method refreshes all the content in the OverlayCanvas. For example, LayerOverlay with multiple tiles; when the style of one layer is changed, call Refresh to refresh all the tiles to accept new styles.
Public MethodToString Object

Protected Methods

Name Parameters DeclaringType Summary
Protected MethodCreateConcreteCore MapElementAdapter Creates the concrete core.
Protected MethodFinalize Object
Protected MethodMemberwiseClone Object
Protected MethodRegisterCollectionSynchronization GeoCollection<FormsItem>, GeoCollection<ConcreteItem> MapElementAdapter

Public Properties

Name Return DeclaringType Summary
Public PropertyCanDrag Boolean Gets a value which indicates whether the shape can be dragged.
Public PropertyCanReshape Boolean Gets a value which indicates whether the shape can be reshaped.
Public PropertyCanResize Boolean Gets a value which indicates whether the shape can be resized.
Public PropertyCanRotate Boolean Gets a value which indicates whether the shape can be rotated.
Public PropertyConcrete Object MapElementAdapter Gets or sets the concrete.
Public PropertyEditShapesLayer InMemoryFeatureLayer This property gets the InMemoryFeatureLayer which holds the edit shapes.
Public PropertyIsVisible Boolean OverlayAdapter Gets or sets a value indicating whether this instance is visible.
Public PropertyName String OverlayAdapter Gets or sets the name.

Protected Properties

Name Return DeclaringType Summary

Public Events

Name Event Arguments DeclaringType Summary

Public Constructors

Protected Constructors

EditInteractiveOverlayAdapter()

Initializes a new instance of the class.

Parameters

Name Type Description

Go Back

Public Methods

CalculateAllControlPoints()

This method calculates all control points.

Remarks

First, it will clear all control points. Then it will calculate each control points according to their settings.

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description

<!– ThinkGeo.MapSuite.FormsEdition.Adapters.EditInteractiveOverlayAdapter –> Go Back

ClearAllControlPoints()

This method clears all control points in corresponding layer.

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description

<!– ThinkGeo.MapSuite.FormsEdition.Adapters.EditInteractiveOverlayAdapter –> Go Back

CreateConcrete()

Creates the concrete.

Return Value

Return Type Description
Object<!– System.Object –> System.Object.

Parameters

Name Type Description

<!– ThinkGeo.MapSuite.FormsEdition.Adapters.MapElementAdapter –> Go Back

Equals(Object)

Return Value

Return Type Description
Boolean<!– System.Boolean –>

Parameters

Name Type Description
obj Object<!– System.Object –>

<!– System.Object –> Go Back

GetBoundingBox()

Return Value

Return Type Description
RectangleShape<!– ThinkGeo.MapSuite.Core.RectangleShape –>

Parameters

Name Type Description

<!– ThinkGeo.MapSuite.FormsEdition.Adapters.OverlayAdapter –> Go Back

GetHashCode()

Return Value

Return Type Description
Int32<!– System.Int32 –>

Parameters

Name Type Description

<!– System.Object –> Go Back

GetType()

Return Value

Return Type Description
Type<!– System.Type –>

Parameters

Name Type Description

<!– System.Object –> Go Back

Refresh()

This method refreshes all the content in the OverlayCanvas. For example, LayerOverlay with multiple tiles; when the style of one layer is changed, call Refresh to refresh all the tiles to accept new styles.

Remarks

The difference from Draw() method is that Refresh() method refreshs all the elements while Draw() does not.

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description

<!– ThinkGeo.MapSuite.FormsEdition.Adapters.OverlayAdapter –> Go Back

ToString()

Return Value

Return Type Description
String<!– System.String –>

Parameters

Name Type Description

<!– System.Object –> Go Back

Protected Methods

CreateConcreteCore()

Creates the concrete core.

Return Value

Return Type Description
Object<!– System.Object –> System.Object.

Parameters

Name Type Description

<!– ThinkGeo.MapSuite.FormsEdition.Adapters.MapElementAdapter –> Go Back

Finalize()

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description

<!– System.Object –> Go Back

MemberwiseClone()

Return Value

Return Type Description
Object<!– System.Object –>

Parameters

Name Type Description

<!– System.Object –> Go Back

RegisterCollectionSynchronization(GeoCollection<FormsItem>, GeoCollection<ConcreteItem>)

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
formsItems GeoCollection<FormsItem><!– GeoCollection{FormsItem} –>
concreteItems GeoCollection<ConcreteItem><!– GeoCollection{ConcreteItem} –>

<!– ThinkGeo.MapSuite.FormsEdition.Adapters.MapElementAdapter –> Go Back

Public Properties

CanDrag

Gets a value which indicates whether the shape can be dragged.

Return Value

Return Type
Boolean<!– System.Boolean –>

<!– ThinkGeo.MapSuite.FormsEdition.Adapters.EditInteractiveOverlayAdapter –> Go Back

CanReshape

Gets a value which indicates whether the shape can be reshaped.

Return Value

Return Type
Boolean<!– System.Boolean –>

<!– ThinkGeo.MapSuite.FormsEdition.Adapters.EditInteractiveOverlayAdapter –> Go Back

CanResize

Gets a value which indicates whether the shape can be resized.

Return Value

Return Type
Boolean<!– System.Boolean –>

<!– ThinkGeo.MapSuite.FormsEdition.Adapters.EditInteractiveOverlayAdapter –> Go Back

CanRotate

Gets a value which indicates whether the shape can be rotated.

Return Value

Return Type
Boolean<!– System.Boolean –>

<!– ThinkGeo.MapSuite.FormsEdition.Adapters.EditInteractiveOverlayAdapter –> Go Back

Concrete

Gets or sets the concrete.

Return Value

Return Type
Object<!– System.Object –>

<!– ThinkGeo.MapSuite.FormsEdition.Adapters.MapElementAdapter –> Go Back

EditShapesLayer

This property gets the InMemoryFeatureLayer which holds the edit shapes.

Return Value

Return Type
InMemoryFeatureLayer<!– ThinkGeo.MapSuite.Core.InMemoryFeatureLayer –>

<!– ThinkGeo.MapSuite.FormsEdition.Adapters.EditInteractiveOverlayAdapter –> Go Back

IsVisible

Gets or sets a value indicating whether this instance is visible.

Return Value

Return Type
Boolean<!– System.Boolean –>

<!– ThinkGeo.MapSuite.FormsEdition.Adapters.OverlayAdapter –> Go Back

Name

Gets or sets the name.

Return Value

Return Type
String<!– System.String –>

<!– ThinkGeo.MapSuite.FormsEdition.Adapters.OverlayAdapter –> Go Back

Protected Properties

Public Events

thinkgeo.mapsuite.formsedition.adapters.editinteractiveoverlayadapter.txt · Last modified: 2017/03/16 21:59 (external edit)