terra-draw
Version:
Frictionless map drawing across mapping provider
6 lines (5 loc) • 404 B
TypeScript
import { GeoJSONStoreFeatures } from "../terra-draw";
import { Validation } from "../common";
export declare const ValidationReasonFeatureNotPolygonOrLineString = "Feature is not a Polygon or LineString";
export declare const ValidationReasonFeatureSelfIntersects = "Feature intersects itself";
export declare const ValidateNotSelfIntersecting: (feature: GeoJSONStoreFeatures) => ReturnType<Validation>;