Options
All
  • Public
  • Public/Protected
  • All
Menu

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

Hierarchy

  • Size

Index

Constructors

Properties

Methods

Constructors

  • new Size(width: number, height: number, widthUnit?: string, heightUnit?: string): Size

Properties

height: number

The height along the y-axis, in pixels.

width: number

The width along the x-axis, in pixels.

Methods

  • equals(other: null | Size): boolean
  • Compares two Sizes.

    Parameters

    Returns boolean

  • toString(): string
  • Returns a string representation of this Size.

    Returns string

Generated using TypeDoc