leaflet-polydraw
Version:
Advanced Leaflet plugin for freehand polygon drawing, with smart merging and powerful editing tools. Compatible with both Leaflet v1.x and v2.x.
40 lines • 715 B
TypeScript
/**
* Enum for Leaflet version compatibility.
*/
export declare enum LeafletVersion {
V1 = "1.x",
V2 = "2.x"
}
/**
* Enum for drawing modes in Polydraw.
*/
export declare enum DrawMode {
Off = 0,
Add = 1,
Edit = 2,
Subtract = 4,
AppendMarker = 8,
LoadPredefined = 16,
PointToPoint = 32,
PointToPointSubtract = 64,
Clone = 128
}
/**
* Enum for marker positions.
*/
export declare enum MarkerPosition {
SouthWest = 0,
South = 1,
SouthEast = 2,
East = 3,
NorthEast = 4,
North = 5,
NorthWest = 6,
West = 7,
Hole = 8
}
export declare enum DonutDirection {
Both = "both",
Inward = "inward"
}
//# sourceMappingURL=enums.d.ts.map