Packagecom.esri.ags.components.supportClasses
Classpublic class CreateOptions
InheritanceCreateOptions Inheritance Object

Since : ArcGIS API for Flex 2.0

Create Options for the editor, for example, should the Editor use "freehand" instead of the default "point-to-point" behavior when creating new features. Also determines what goes in the draw tool drop down in the toolbar.

When toolbarVisible is true, users can change the default. When toolbarVisible is false, the first draw tool is used (and end users cannot change it). The draw tool are listed in the order they are defined. To change the "default" draw tool, simply list it first in the polygonDrawTools/polygonDrawTools array.



Public Properties
 PropertyDefined By
  polygonDrawTools : Array
Valid options are: DrawTool.POLYGON, DrawTool.FREEHAND_POLYGON, DrawTool.EXTENT, DrawTool.CIRCLE, DrawTool.ELLIPSE and CreateOptions.AUTO_COMPLETE.
CreateOptions
  polylineDrawTools : Array
Valid options are: DrawTool.POLYLINE, DrawTool.FREEHAND_POLYLINE and DrawTool.LINE.
CreateOptions
Public Constants
 ConstantDefined By
  AUTO_COMPLETE : String = autocomplete
[static] Automatically completes a polygon using the geometries of nearby features.
CreateOptions
Property Detail
polygonDrawToolsproperty
public var polygonDrawTools:Array

Valid options are: DrawTool.POLYGON, DrawTool.FREEHAND_POLYGON, DrawTool.EXTENT, DrawTool.CIRCLE, DrawTool.ELLIPSE and CreateOptions.AUTO_COMPLETE.

See also

polylineDrawToolsproperty 
public var polylineDrawTools:Array

Valid options are: DrawTool.POLYLINE, DrawTool.FREEHAND_POLYLINE and DrawTool.LINE.

See also

Constant Detail
AUTO_COMPLETEConstant
public static const AUTO_COMPLETE:String = autocomplete

Automatically completes a polygon using the geometries of nearby features.