UNPKG

rlayers

Version:

React Components for OpenLayers

29 lines 928 B
import { FullScreen } from 'ol/control'; import { Options } from 'ol/control/FullScreen'; import { default as RControlBase, RControlProps } from './RControlBase'; /** * @propsfor RFullScreen */ export interface RFullScreenProps extends RControlProps { /** A new HTML target for the map after switching to full-screen, * can be used for CSS customization */ source?: HTMLElement | string; /** The button label */ label?: string; /** The button label when active */ labelActive?: string; /** The mouse-over tip */ tipLabel?: string; } /** * A control for switching to full-screen mode * * Requires an `RMap` context * */ export default class RFullScreen extends RControlBase<RFullScreenProps, Record<string, never>> { ol: FullScreen; constructor(props: Readonly<RFullScreenProps>); toOLProps(props: RFullScreenProps): Options; } //# sourceMappingURL=RFullScreen.d.ts.map