UNPKG

rlayers

Version:

React Components for OpenLayers

23 lines 779 B
import { ObjectEvent } from 'ol/Object'; import { default as PinchRotate } from 'ol/interaction/PinchRotate'; import { default as RBaseInteraction } from './RBaseInteraction'; /** * @propsfor RPinchRotate */ export interface RPinchRotateProps { /** Minimum angle in radians for rotation * @default 0.3 */ threshold?: number; /** Animation duration * @default 250 */ duration?: number; /** Called on every change */ onChange?: (this: RPinchRotate, e: ObjectEvent) => void; } /** Rotation by pinching */ export default class RPinchRotate extends RBaseInteraction<RPinchRotateProps> { protected static classProps: string[]; ol: PinchRotate; createOL(props: RPinchRotateProps): PinchRotate; } //# sourceMappingURL=RPinchRotate.d.ts.map