Classes
Type Definitions
-
Options{Object}
-
Properties:
Name Type Description className
string
(defaults to 'ol-zoomslider')CSS class name.
duration
number
(defaults to 200)Animation duration in milliseconds.
render
function | undefined Function called when the control should be re-rendered. This is called in a
requestAnimationFrame
callback.target
HTMLElement | string | undefined Specify a target if you want the control to be rendered outside of the map's viewport.