0
0
0
0
Interpolates the inset in-place.
This maintains the current inset value for any inset not present in target
.
interpolation start
interpolation target
interpolation step/weight
the insets
Returns the current state as json, useful when you want to have a read-only representation of the inset.
state as json
An
EdgeInset
object represents screen space padding applied to the edges of the viewport. This shifts the apprent center or the vanishing point of the map. This is useful for adding floating UI elements on top of the map and having the vanishing point shift as UI elements resize.