@react-gis/openlayerscontrol
zoom-slider-control
Functions
ZoomSliderControl()
function ZoomSliderControl(props: ZoomSliderControlProps): null;Defined in: packages/openlayers/src/control/zoom-slider-control.tsx:11
Parameters
| Parameter | Type |
|---|---|
props | ZoomSliderControlProps |
Returns
null
Interfaces
ZoomSliderControlProps
Defined in: packages/openlayers/src/control/zoom-slider-control.tsx:9
Extends
ControlOptions<OlZoomSliderOptions>
Properties
| Property | Type | Description | Inherited from |
|---|---|---|---|
className? | string | CSS class name. | ControlOptions.className |
duration? | number | Animation duration in milliseconds. | ControlOptions.duration |
element? | HTMLElement | The element is the control's container element. This only needs to be specified if you're developing a custom control. | ControlOptions.element |
render? | (arg0: MapEvent) => void & (arg0: MapEvent) => void | Function called when the control should be re-rendered. This is called in a requestAnimationFrame callback. | FullScreenControlProps.render |
target? | string | HTMLElement | Specify a target if you want the control to be rendered outside of the map's viewport. | ControlOptions.target |