Properties
allowIntersection
allowIntersection: boolean
drawError
drawError: ErrorDisplayOptions
guidelineDistance
guidelineDistance: number
icon
icon: Icon
maxGuideLineLength
maxGuideLineLength: number
metric
metric: boolean
repeatMode
repeatMode: boolean
shapeOptions
shapeOptions: GraphicOptions
showArea
showArea: boolean
zIndexOffset
zIndexOffset: number
PolygonDrawingOptions is an interface that contains options for drawing polygons
var polygonDrawingOptions = { showArea: false, shapeOptions: { color: "#FF0000" }, icon: L.icon(), maxGuideLineLength: 5, allowIntersection: false, drawError: { color: "#FF0000", timeout: 25 }, guidelineDistance: 5, zIndexOffset: 999, repeatMode: false, metric: false };