GeoJsonStyleDefaults class
Default values for default object builders. Functions defaultOnPoint, defaultOnPolyline, and defaultOnPolygon use values from this object for properties missing in GeoJSON objects.
There are two singletons that can be used without instantiating this class: initial (used by default) and leaflet.
Constructors
Properties
- fillColor → Color
-
final
- fillOpacity → double
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- markerColor → Color
-
final
- markerSize → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- strokeColor → Color
-
final
- strokeOpacity → double
-
final
- strokeWidth → double
-
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
Constants
- initial → const GeoJsonStyleDefaults
- Defaults as defined in the simplestyle-spec. Colors are shades of gray, strokes are 2 pixels wide, and the default fill opacity is 0.6.
- leaflet → const GeoJsonStyleDefaults
- Defaults as defined in the Leaflet library. Colors are blue, strokes are 3 pixels wide, and the default fill opacity is very faint, 0.2.