Module: ol/control/Control
This documentation is for OpenLayers v
5.3.2. The
latest is v
.
Classes
- Control
Type Definitions
-
-
Properties:
Name |
Type |
Argument |
Description |
element
|
HTMLElement
|
<optional>
|
The element is the control's
container element. This only needs to be specified if you're developing
a custom control. |
render
|
function
|
<optional>
|
Function called when
the control should be re-rendered. This is called in a requestAnimationFrame
callback. |
target
|
HTMLElement
|
string
|
<optional>
|
Specify a target if you want
the control to be rendered outside of the map's viewport. |