Type Alias: PaddingValue
px
Represents a padding value that can be:
- A number (interpreted as pixels)
- A string with a unit: “10%”, “5vh”, “5vw”, “100px”
Supported units:
px- Pixels (default if number)%- Percentage of the map container dimension (width for left/right, height for top/bottom)vh- Percentage of viewport heightvw- Percentage of viewport width
Example
%
Last updated on