Options
All
  • Public
  • Public/Protected
  • All
Menu

A MultiPolygon geometry contains a number of Data.Polygons.

Hierarchy

  • MultiPolygon

Implements

Index

Constructors

constructor

Methods

forEachLatLng

  • forEachLatLng(callback: (a: LatLng) => void): void
  • Repeatedly invokes the given function, passing a point from the geometry to the function on each invocation.

    Parameters

    Returns void

getArray

  • Returns an array of the contained Data.Polygons. A new array is returned each time getArray() is called.

    Returns Polygon[]

getAt

  • Returns the n-th contained Data.Polygon.

    Parameters

    • n: number

    Returns Polygon

getLength

  • getLength(): number
  • Returns the number of contained Data.Polygons.

    Returns number

getType

  • getType(): string
  • Returns the string "MultiPolygon".

    Returns string

Generated using TypeDoc