LogoSettings class

Shows the Mapbox logo on the map.

Constructors

LogoSettings({bool? enabled, OrnamentPosition? position, double? marginLeft, double? marginTop, double? marginRight, double? marginBottom})

Properties

enabled ↔ bool?
Whether the logo is visible on the map. Default value: true. Restricted API. Please contact Mapbox to discuss your use case if you intend to use this property.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
marginBottom ↔ double?
Defines the margin to the bottom that the attribution icon honors. Default value: 4.
getter/setter pair
marginLeft ↔ double?
Defines the margin to the left that the attribution icon honors. Default value: 4.
getter/setter pair
marginRight ↔ double?
Defines the margin to the right that the attribution icon honors. Default value: 4.
getter/setter pair
marginTop ↔ double?
Defines the margin to the top that the attribution icon honors. Default value: 4.
getter/setter pair
position ↔ OrnamentPosition?
Defines where the logo is positioned on the map Default value: "bottom-left".
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.
override

Static Methods

decode(Object result) → LogoSettings