
Activate(tool, graphic, options)
Parameters
Name
|
Description
|
tool
|
Edit tools to use.
|
graphic
|
target feature.
|
options
|
Edit options.
set object
Name
|
Type
|
Description
|
allowAddVertices
|
Boolean
|
Specifies whether users can add new vertices. Valid geometry: Polyline, Polygon.
|
allowDeleteVertices
|
Boolean
|
Specifies whether users can delete vertices. Valid geometry: Polygon, Polygon, Multipoint.
|
ghostLine
|
sg.symbols.LineSymbol
|
Symbol for guide lines, displayed when moving vertices.
|
newVertexSymbol
|
sg.symbols.MarkerSymbol
|
Symbol for insertable vertices.
|
scaleSymbol
|
sg.symbols.MarkerSymbol
|
Symbol for scale handle.
|
scaleBoxSymbol
|
sg.symbols.LineSymbol
|
Symbol for feature outline
|
uniformScaling
|
Boolean
|
Specifies whether the geometry is resized if the aspect ratio will be preserved.
|
vertexSymbol
|
sg.symbols.MarkerSymbol
|
Symbol for vertices.
|
|
©2015 Supergeo Technologies Inc.