PaddingOptions class
Options for setting padding on a call to {@link MapboxMap#fitBounds}. All properties of this object must be non-negative integers.
@typedef {Object} PaddingOptions @property {number} top Padding in pixels from the top of the map canvas. @property {number} bottom Padding in pixels from the bottom of the map canvas. @property {number} left Padding in pixels from the left of the map canvas. @property {number} right Padding in pixels from the right of the map canvas.
Constructors
- PaddingOptions({num? top, num? bottom, num? left, num? right})
-
factory
- PaddingOptions.fromJsObject(PaddingOptionsJsImpl jsObject)
-
Creates a new PaddingOptions from a
jsObject
.
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited