ol/control/Control
Classes
- Control
Type Definitions
-
Options{Object}
-
Properties:
Name Type Description elementHTMLElement | undefined The element is the control's container element. This only needs to be specified if you're developing a custom control.
renderfunction | undefined Function called when the control should be re-rendered. This is called in a
requestAnimationFramecallback.targetHTMLElement | string | undefined Specify a target if you want the control to be rendered outside of the map's viewport.
© 2005-present, OpenLayers Contributors All rights reserved.Licensed under the BSD 2-Clause License.
https://openlayers.org/en/latest/apidoc/module-ol_control_Control.html