CameraBoundsOptions class

Holds options to be used for setting camera bounds.

Constructors

CameraBoundsOptions({CoordinateBounds? bounds, double? maxZoom, double? minZoom, double? maxPitch, double? minPitch})

Properties

bounds CoordinateBounds?
The latitude and longitude bounds to which the camera center are constrained.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
maxPitch double?
The maximum allowed pitch value in degrees.
getter/setter pair
maxZoom double?
The maximum zoom level, in Mapbox zoom levels 0-25.5. At low zoom levels, a small set of map tiles covers a large geographical area. At higher zoom levels, a larger number of tiles cover a smaller geographical area.
getter/setter pair
minPitch double?
The minimum allowed pitch value in degrees.
getter/setter pair
minZoom double?
The minimum zoom level, in Mapbox zoom levels 0-25.5.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

encode() Object
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

decode(Object result) CameraBoundsOptions