vue-maplibre-gl
Version:
Vue 3 plugin for maplibre-gl
23 lines (22 loc) • 851 B
TypeScript
import { AbstractDrawMode } from './mode.abstract.ts';
import { DrawPlugin } from './plugin.ts';
import { DrawModel, DrawFeatureProperties } from './types.ts';
import { GeoJSONSource, Map } from 'maplibre-gl';
import { Feature, Polygon } from 'geojson';
export declare class CircleStaticMode extends AbstractDrawMode {
private _model;
private _container;
private _circle;
private _widthContstraint;
private _heightConstraint;
private _minSizeLabel;
constructor(plugin: DrawPlugin, map: Map, source: GeoJSONSource, model: DrawModel | undefined);
onViewportChange(): void;
onViewportChangeEnd(): void;
viewportToModel(): Feature<Polygon, DrawFeatureProperties>;
register(): void;
unregister(): void;
setModel(model: DrawModel | undefined): void;
setPadding(): void;
onOptionsUpdate(): void;
}