@razi91/types-ol-ext
Version:
Type definitions for ol-ext
14 lines (11 loc) • 403 B
TypeScript
import { Collection } from 'ol';
import BaseLayer from 'ol/layer/Base';
import LayerGroup from 'ol/layer/Group';
import { Style } from 'ol/style';
export type position = 'top' | 'left' | 'bottom' | 'right';
export interface ControlOptions {
follow?: boolean;
align: 'top' | 'bottom-left' | 'right';
layers?: BaseLayer[] | Collection<BaseLayer> | LayerGroup;
style?: Style | Style[];
}