Options
All
  • Public
  • Public/Protected
  • All
Menu

A MultiLineString geometry contains a number of LineStrings.

Access by calling const {Data} = await google.maps.importLibrary("maps"). See https://developers.google.com/maps/documentation/javascript/libraries.

Hierarchy

  • MultiLineString

Implements

Index

Constructors

Methods

  • 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

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

    Returns LineString[]

  • Returns the n-th contained Data.LineString.

    Parameters

    • n: number

    Returns LineString

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

    Returns number

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

    Returns string

Generated using TypeDoc