| Package | com.esri.ags.components.supportClasses |
| Class | public class CreateOptions |
| Inheritance | CreateOptions Object |
| Since : | ArcGIS API for Flex 2.0 |
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.
| Property | Defined 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 | ||
| Constant | Defined By | ||
|---|---|---|---|
| AUTO_COMPLETE : String = autocomplete [static]
Automatically completes a polygon using the geometries of nearby features. | CreateOptions | ||
| polygonDrawTools | property |
public var polygonDrawTools:ArrayValid options are: DrawTool.POLYGON, DrawTool.FREEHAND_POLYGON, DrawTool.EXTENT, DrawTool.CIRCLE, DrawTool.ELLIPSE and CreateOptions.AUTO_COMPLETE.
See also
| polylineDrawTools | property |
public var polylineDrawTools:ArrayValid options are: DrawTool.POLYLINE, DrawTool.FREEHAND_POLYLINE and DrawTool.LINE.
See also
| AUTO_COMPLETE | Constant |
public static const AUTO_COMPLETE:String = autocompleteAutomatically completes a polygon using the geometries of nearby features.