LatLonGridLayerOptions class
LatLonGridLayerOptions
Constructors
- LatLonGridLayerOptions({required TextStyle labelStyle, double lineWidth = 0.5, Color lineColor = Colors.black, bool showCardinalDirections = true, bool showCardinalDirectionsAsPrefix = false, bool showLabels = true, bool rotateLonLabels = true, bool placeLabelsOnLines = true, double offsetLonLabelsBottom = 50.0, double offsetLatLabelsLeft = 75.0})
- LatLonGridLayerOptions
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- labelStyle → TextStyle
-
style of labels
final
- lineColor → Color
-
color of grid lines
final
- lineWidth → double
-
width of grid lines
can be adjusted even down to 0.1 on high res displays for a light grid
final
- offsetLatLabelsLeft → double
-
offset for latitude labels from the 'left' (north up)
final
- offsetLonLabelsBottom → double
-
offset for longitude labels from the 'bottom' (north up)
final
- placeLabelsOnLines → bool
-
center labels on lines instead of top edge alignment
final
- rotateLonLabels → bool
-
rotate longitude labels 90 degrees
mainly to prevent overlapping on high zoom levels
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- showCardinalDirections → bool
-
show cardinal directions instead of numbers only
final
- showCardinalDirectionsAsPrefix → bool
-
show cardinal direction as prefix, e.g. W45.5 instead of 45.5W
final
- showLabels → bool
-
enable labels
final
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.
inherited