Options
All
  • Public
  • Public/Protected
  • All
Menu

Class LeafletPolygonDrawingOptions

LeafletPolygonDrawingOptions is class implementing PolygonDrawingOptions and L.PolygonDrawOptions.
Contains a static convenience method for default options.

example



var leafletPolygonOptions = LeafletPolygonDrawingOptions.defaultOptions();

Hierarchy

  • LeafletPolygonDrawingOptions

Implements

Index

Constructors

constructor

  • new LeafletPolygonDrawingOptions(showArea: boolean, shapeOptions: LeafletGraphicOptions, metric: boolean, icon: Icon, maxGuidelineLength: number, allowIntersection: boolean, drawError: LeafletErrorDisplayOptions, guidelineDistance: number, zIndexOffset: number, repeatMode: boolean): LeafletPolygonDrawingOptions
  • new LeafletPolygonDrawingOptions(showArea: boolean, shapeOptions: LeafletGraphicOptions, metric: boolean, icon: Icon, maxGuidelineLength: number, allowIntersection: boolean, drawError: LeafletErrorDisplayOptions, guidelineDistance: number, zIndexOffset: number, repeatMode: boolean): LeafletPolygonDrawingOptions
  • new LeafletPolygonDrawingOptions(showArea: boolean, shapeOptions: LeafletGraphicOptions, metric: boolean, icon: Icon, maxGuidelineLength: number, allowIntersection: boolean, drawError: LeafletErrorDisplayOptions, guidelineDistance: number, zIndexOffset: number, repeatMode: boolean): LeafletPolygonDrawingOptions
  • Parameters

    • showArea: boolean
    • shapeOptions: LeafletGraphicOptions
    • metric: boolean
    • icon: Icon
    • maxGuidelineLength: number
    • allowIntersection: boolean
    • drawError: LeafletErrorDisplayOptions
    • guidelineDistance: number
    • zIndexOffset: number
    • repeatMode: boolean

    Returns LeafletPolygonDrawingOptions

  • Parameters

    • showArea: boolean
    • shapeOptions: LeafletGraphicOptions
    • metric: boolean
    • icon: Icon
    • maxGuidelineLength: number
    • allowIntersection: boolean
    • drawError: LeafletErrorDisplayOptions
    • guidelineDistance: number
    • zIndexOffset: number
    • repeatMode: boolean

    Returns LeafletPolygonDrawingOptions

  • Parameters

    • showArea: boolean
    • shapeOptions: LeafletGraphicOptions
    • metric: boolean
    • icon: Icon
    • maxGuidelineLength: number
    • allowIntersection: boolean
    • drawError: LeafletErrorDisplayOptions
    • guidelineDistance: number
    • zIndexOffset: number
    • repeatMode: boolean

    Returns LeafletPolygonDrawingOptions

Properties

allowIntersection

allowIntersection: boolean

drawError

drawError: LeafletErrorDisplayOptions

guidelineDistance

guidelineDistance: number

icon

icon: Icon

maxGuideLineLength

maxGuideLineLength: number

metric

metric: boolean

repeatMode

repeatMode: boolean

shapeOptions

shapeOptions: LeafletGraphicOptions

showArea

showArea: boolean

zIndexOffset

zIndexOffset: number

Methods

Static defaultOptions

  • defaultOptions(): LeafletPolygonDrawingOptions
  • defaultOptions(): LeafletPolygonDrawingOptions
  • defaultOptions(): LeafletPolygonDrawingOptions
  • Returns LeafletPolygonDrawingOptions

  • Returns LeafletPolygonDrawingOptions

  • Returns LeafletPolygonDrawingOptions