Options
All
  • Public
  • Public/Protected
  • All
Menu

Class LeafletRectangleDrawingOptions

LeafletRectangleDrawingOptions is class implementing RectangleDrawingOptions and L.RectangleDrawOptions.
Contains a static convenience method for default options.

example



var leafletRectangleOptions = LeafletRectangleDrawingOptions.defaultOptions();

Hierarchy

  • LeafletRectangleDrawingOptions

Implements

Index

Constructors

constructor

  • Parameters

    Returns LeafletRectangleDrawingOptions

  • Parameters

    • shapeOptions: LeafletGraphicOptions
    • metric: boolean
    • repeatMode: boolean
    • zIndexOffset: number

    Returns LeafletRectangleDrawingOptions

  • Parameters

    • shapeOptions: LeafletGraphicOptions
    • metric: boolean
    • repeatMode: boolean
    • zIndexOffset: number

    Returns LeafletRectangleDrawingOptions

Properties

metric

metric: boolean

repeatMode

repeatMode: boolean

shapeOptions

shapeOptions: LeafletGraphicOptions

zIndexOffset

zIndexOffset: number

Methods

Static defaultOptions

  • Returns LeafletRectangleDrawingOptions

  • Returns LeafletRectangleDrawingOptions

  • Returns LeafletRectangleDrawingOptions