UNPKG

vue3-openlayers

Version:
27 lines (25 loc) 1.07 kB
import { default as feature } from 'ol/Feature'; import { Plugin, FunctionPlugin } from 'vue'; import { Vue3OpenlayersGlobalOptions } from './types'; import * as geom from "ol/geom"; import * as format from "ol/format"; import * as loadingstrategy from "ol/loadingstrategy"; import * as selectconditions from "ol/events/condition"; import * as extent from "ol/extent"; import * as animations from "ol/easing"; declare const install: Plugin; declare module "@vue/runtime-core" { function inject(key: "ol-options"): Vue3OpenlayersGlobalOptions; function inject(key: "ol-feature"): feature; function inject(key: "ol-geom"): typeof geom; function inject(key: "ol-animations"): typeof animations; function inject(key: "ol-format"): typeof format; function inject(key: "ol-loadingstrategy"): typeof loadingstrategy; function inject(key: "ol-selectconditions"): typeof selectconditions; function inject(key: "ol-extent"): typeof extent; } declare const plugin: { install: FunctionPlugin<any[]>; }; export default plugin; export { install };