What units are allowed in google.maps.Size?

The documentation for the google.maps.Size function states:

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

By default, pixels are displayed for widthUnit and heightUnit. The function works correctly if it is called as a new google.maps.Size file (30,30, "px", "px")

I would like to know what other types of devices are supported.

+5
source share
1 answer

. CSS, , google.maps.Size. - , , , , , .. CSS ( API , , () ).

, , . , , , . API DOM, , API. , "%" ( CSS), DOM, . , !

+6

All Articles