Classes
Type Definitions
-
Options{Object}
-
Properties:
Name Type Argument Default Description extentmodule:ol/extent~Extent <optional>
Initial extent. Defaults to no initial extent.
boxStylemodule:ol/style/Style~StyleLike <optional>
Style for the drawn extent box. Defaults to
module:ol/style/Style~createEditing()['Polygon']pixelTolerancenumber <optional>
10 Pixel tolerance for considering the pointer close enough to a segment or vertex for editing.
pointerStylemodule:ol/style/Style~StyleLike <optional>
Style for the cursor used to draw the extent. Defaults to
module:ol/style/Style~createEditing()['Point']wrapXboolean <optional>
false Wrap the drawn extent across multiple maps in the X direction? Only affects visuals, not functionality.
OpenLayers