Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Outline

Implements

Index

Constructors

constructor

  • new Outline(points: LatLng[]): Outline
  • Parameters

    • points: LatLng[]

    Returns Outline

Properties

Private Readonly clickListeners

clickListeners: ClickListener[]

Readonly maxX

maxX: number

Readonly maxY

maxY: number

Readonly minX

minX: number

Readonly minY

minY: number

Private Readonly points

points: LatLng[]

Methods

addClickListener

  • Parameters

    Returns void

bboxArea

  • bboxArea(): number
  • Returns number

didClick

  • didClick(e: LeafletMouseEvent): boolean
  • Parameters

    • e: LeafletMouseEvent

    Returns boolean

onClick

  • onClick(e: LeafletMouseEvent): void
  • Parameters

    • e: LeafletMouseEvent

    Returns void

render

  • render(ctx: CanvasRenderingContext2D, toPoint: (latLng: LatLng) => Point): void
  • Parameters

    • ctx: CanvasRenderingContext2D
    • toPoint: (latLng: LatLng) => Point
        • (latLng: LatLng): Point
        • Parameters

          • latLng: LatLng

          Returns Point

    Returns void

Generated using TypeDoc