@watergis/maplibre-gl-terradraw
Version:
This plugin is to add controls to your Maplibre for drawing powered by Terra Draw library.
10 lines • 385 B
TypeScript
import type { ModeOptions } from '../interfaces/ModeOptions';
import { type GeoJSONStoreFeatures } from 'terra-draw';
export declare const polygonValidation: (feature: GeoJSONStoreFeatures, e: {
updateType: string;
}) => {
valid: boolean;
reason?: string;
};
export declare const getDefaultModeOptions: () => ModeOptions;
//# sourceMappingURL=getDefaultModeOptions.d.ts.map