Classes
Type Definitions
-
Options{Object}
-
Properties:
Name Type Description classNamestring
(defaults to 'ol-zoomslider')CSS class name.
durationnumber
(defaults to 200)Animation duration in milliseconds.
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.