Holds options to limit what parts of a map are visible. All fields are optional.
BoundOptions & withMaxZoom(double z)
Sets the maximum zoom level.
BoundOptions & withMaxPitch(double p)
Sets the maximum pitch.
BoundOptions & withMinZoom(double z)
Sets the minimum zoom level.
BoundOptions & withLatLngBounds(LatLngBounds b)
Sets the latitude and longitude bounds to which the camera center are constrained.
std::optional< double > minZoom
Minimum zoom level allowed.
std::optional< double > maxPitch
Maximum pitch allowed in degrees.
std::optional< double > minPitch
Minimum pitch allowed in degrees.
std::optional< LatLngBounds > bounds
Constrain the center of the camera to be within these bounds.
std::optional< double > maxZoom
Maximum zoom level allowed.
BoundOptions & withMinPitch(double p)
Sets the minimum pitch.