Classes
Type Definitions
-
Options{Object}
-
Properties:
Name Type Argument Default Description conditionCondition <optional>
A function that takes an
MapBrowserEventand returns a boolean to indicate whether that event should be handled. Default isalways.extentExtent <optional>
Initial extent. Defaults to no initial extent.
boxStyleStyleLike <optional>
Style for the drawn extent box. Defaults to the
Polygonediting style documented inStylepixelTolerancenumber <optional>
10 Pixel tolerance for considering the pointer close enough to a segment or vertex for editing.
pointerStyleStyleLike <optional>
Style for the cursor used to draw the extent. Defaults to the
Pointediting style documented inStylewrapXboolean <optional>
false Wrap the drawn extent across multiple maps in the X direction? Only affects visuals, not functionality.