ViewPadding class

To be added to the map to help re-centering the view.

This is particularly useful when the map is partially overlayed by other UI elements.

https://developers.arcgis.com/javascript/latest/api-reference/esri-views-View.html#padding

Constructors

ViewPadding({double left = 0, double top = 0, double right = 0, double bottom = 0})
const

Properties

bottom double
final
hashCode int
The hash code for this object.
no setteroverride
left double
final
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
top double
final

Methods

copyWith({double? left, double? top, double? right, double? bottom}) ViewPadding
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
override