GoogleMapsOptions class

Options for configuring Google Maps appearance and behavior

Constructors

GoogleMapsOptions({GoogleMapStylePreset? preset, String? customStyleJson, String? cloudMapId, bool? buildingsEnabled})
const

Properties

buildingsEnabled → bool?
Whether a tilted map draws buildings in 3D. Null draws them, except under a dark preset.
final
cloudMapId → String?
Use a cloud-based map style ID from Google Cloud Console Requires configuration in Google Cloud Platform
final
customStyleJson → String?
Provide custom JSON styling string Generate custom styles at: https://mapstyle.withgoogle.com/
final
drawsBuildings → bool
Whether the map draws 3D buildings: buildingsEnabled, or by default all but a dark preset.
no setter
hashCode → int
The hash code for this object.
no setteroverride
hasStyle → bool
Returns true if any style configuration is provided
no setter
preset → GoogleMapStylePreset?
Use a predefined style preset (standard, dark, silver, etc.)
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
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
override