google.maps.Size class
Constructor
Size(width, height[, widthUnit, heightUnit])
Parameters:
- width: number
- height: number
- widthUnit: string optional
- heightUnit: string optional
Two-dimensional size, where width is the distance on the x-axis, and height is the distance on the y-axis.
Methods
equals(other)
Parameters:
- other: Size
Return Value: boolean
Compares two Sizes.
toString()
Parameters: None
Return Value: string
Returns a string representation of this Size.
Properties
Type: number
The height along the y-axis, in pixels.
Type: number
The width along the x-axis, in pixels.