DefinitelyTyped/types/ol/centerconstraint.d.ts
2020-01-06 13:12:33 -08:00

8 lines
354 B
TypeScript

import { Coordinate } from './coordinate';
import { Extent } from './extent';
import { Size } from './size';
export type Type = (p0: Coordinate | undefined, p1: number, p2: Size, p3?: boolean) => Coordinate;
export function createExtent(extent: Extent, onlyCenter: boolean, smooth: boolean): Type;
export function none(center?: Coordinate): Coordinate;