AttributionSettings class
Shows the attribution icon on the map.
Constructors
- AttributionSettings({bool? enabled, int? iconColor, OrnamentPosition? position, double? marginLeft, double? marginTop, double? marginRight, double? marginBottom, bool? clickable})
Properties
- clickable ↔ bool?
-
Whether the attribution can be clicked and click events can be registered.
Default value: true.
getter/setter pair
- enabled ↔ bool?
-
Whether the attribution icon 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 setterinherited
- iconColor ↔ int?
-
Defines text color of the attribution icon.
Default value: "#FF1E8CAB".
getter/setter pair
- 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: 92.
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 attribution icon 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.
inherited
Static Methods
-
decode(
Object result) → AttributionSettings