CoffeeMapboxMapOptions class
Configuration options for initializing a map view.
Provides initial camera settings like center and zoom, as well as minimum and maximum zoom constraints.
Constructors
- CoffeeMapboxMapOptions({double? initialZoom, LatLng? initialCenter, double? minZoom, double? maxZoom})
-
Creates a new CoffeeMapboxMapOptions instance.
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- initialCenter → LatLng?
-
The initial center of the map when first displayed.
final
- initialZoom → double?
-
The initial zoom level of the map when first displayed.
Must be between minZoom and maxZoom if they are set.
final
- maxZoom → double?
-
The maximum allowed zoom level for the map.
final
- minZoom → double?
-
The minimum allowed zoom level for the map.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Converts the CoffeeMapboxMapOptions into a JSON-compatible map suitable for sending to the native layer.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited