MapTheme class
The VectorMap theme.
- Implementers
Constructors
- MapTheme({Color? color, Color? contourColor, LabelVisibility? labelVisibility, LabelStyleBuilder? labelStyleBuilder, MarkerBuilder? markerBuilder})
- Builds a VectorMap
Properties
- contourColor → Color?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- labelStyleBuilder → LabelStyleBuilder?
-
final
- labelVisibility → LabelVisibility?
-
final
- markerBuilder → MarkerBuilder
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getColor(
MapDataSource dataSource, MapFeature feature) → Color? - Gets the feature color.
-
hasValue(
) → bool - Indicates whether the theme has any value set.
-
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
-
getContourColor(
MapTheme theme, MapHighlightTheme? highlightTheme) → Color? - Gets the feature contour color.
-
getFeatureColor(
MapDataSource dataSource, MapFeature feature, MapTheme theme, MapHighlightTheme? highlightTheme) → Color - Gets the feature color.
-
getThemeOrDefaultColor(
MapDataSource dataSource, MapFeature feature, MapTheme theme) → Color
Constants
- defaultColor → const Color
- defaultContourColor → const Color