UNPKG

@watergis/maplibre-gl-terradraw

Version:

This plugin is to add controls to your Maplibre for drawing powered by Terra Draw library.

5 lines 538 B
import type { GeoJSONStoreFeatures } from 'terra-draw'; import type { Map } from 'maplibre-gl'; import type { MeasureUnitType, distanceUnitType, TerrainSource, MeasureUnitSymbolType } from '../interfaces'; export declare const calcDistance: (feature: GeoJSONStoreFeatures, unitType: MeasureUnitType, distancePrecision: number, forceUnit?: distanceUnitType, measureUnitSymbols?: MeasureUnitSymbolType, map?: Map, computeElevation?: boolean, terrainSource?: TerrainSource) => GeoJSONStoreFeatures; //# sourceMappingURL=calcDistance.d.ts.map