Class: CadControl

.CadControl#CadControl(options)

new CadControl(options)

Parameters:
Name Type Description
options Object Tool options.
Properties
Name Type Attributes Description
snapTolerance Number <optional>
Snap tolerance in pixel for snap lines. Default is 10.
showSnapLines Boolean <optional>
Whether to show snap lines (default is true).
showSnapPoints Boolean <optional>
Whether to show snap points around the closest feature.
snapPointDist Number <optional>
Distance of the snap points (default is 30).
useMapUnits Boolean <optional>
Whether to use map units as measurement for point snapping. Default is false (pixel are used).
Source: