maxBoundsViscosity property

double maxBoundsViscosity

If maxBounds is set, this option will control how solid the bounds are when dragging the map around. The default value of 0.0 allows the user to drag outside the bounds at normal speed, higher values will slow down map dragging outside bounds, and 1.0 makes the bounds fully solid, preventing the user from dragging outside the bounds.

Implementation

external double get maxBoundsViscosity;
void maxBoundsViscosity=(double value)

Implementation

external set maxBoundsViscosity(double value);