constrain abstract method

MapCamera? constrain(
  1. MapCamera camera
)

Create a new constrained camera based off the current camera

May return null if no appropriate camera could be generated by movement, for example because the camera was zoomed too far out.

Implementation

MapCamera? constrain(MapCamera camera);