ScaleBarSettings class
Shows the scale bar on the map.
Constructors
- ScaleBarSettings({bool? enabled, OrnamentPosition? position, double? marginLeft, double? marginTop, double? marginRight, double? marginBottom, int? textColor, int? primaryColor, int? secondaryColor, double? borderWidth, double? height, double? textBarMargin, double? textBorderWidth, double? textSize, bool? isMetricUnits, DistanceUnits? distanceUnits, int? refreshInterval, bool? showTextBorder, double? ratio, bool? useContinuousRendering})
Properties
- borderWidth ↔ double?
-
getter/setter pair
- distanceUnits ↔ DistanceUnits?
-
getter/setter pair
- enabled ↔ bool?
-
Whether the scale is visible on the map.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setteroverride
- height ↔ double?
-
getter/setter pair
- isMetricUnits ↔ bool?
-
getter/setter pair
- marginBottom ↔ double?
-
getter/setter pair
- marginLeft ↔ double?
-
getter/setter pair
- marginRight ↔ double?
-
getter/setter pair
- marginTop ↔ double?
-
getter/setter pair
- position ↔ OrnamentPosition?
-
Defines where the scale bar is positioned on the map.
getter/setter pair
- primaryColor ↔ int?
-
getter/setter pair
- ratio ↔ double?
-
getter/setter pair
- refreshInterval ↔ int?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- secondaryColor ↔ int?
-
getter/setter pair
- showTextBorder ↔ bool?
-
getter/setter pair
- textBarMargin ↔ double?
-
getter/setter pair
- textBorderWidth ↔ double?
-
getter/setter pair
- textColor ↔ int?
-
getter/setter pair
- textSize ↔ double?
-
getter/setter pair
- useContinuousRendering ↔ bool?
-
getter/setter pair
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) → ScaleBarSettings