UNPKG

@siedlerchr/types-ol-ext

Version:
22 lines (18 loc) 689 B
import type Feature from 'ol/Feature' import type { Options as VectorSourceOptions } from 'ol/source/Vector' import VectorSource from 'ol/source/Vector' export interface Options extends VectorSourceOptions<Feature> { resolutions?: number[]; } /** DFCI source: a source to display the French DFCI grid on a map * @see http://ccffpeynier.free.fr/Files/dfci.pdf * @constructor ol_source_DFCI * @extends {ol/source/Vector} */ export default class DFCI extends VectorSource { /** * @param {any} options Vector source options * @param {Array<Number>} resolutions a list of resolution to change the drawing level, default [1000,100,20] */ constructor(options?: Options); }