PlacemarksStyler class abstract

Represents a styler for all placemarks in the map object collection, including placemarks in child collections. When a new placemark is added to a collection, the placemark tries to get style properties from the collection where it has been added. If this collection doesn't have a style property, the placemark tries to get it from the closest parent collection. If none of these collections have a specific style property, the placemark sets the default value for this property.

Implemented types

Constructors

PlacemarksStyler()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

isValid() bool
Usable only in runWithBlockUi or listener handlers.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setScaleFunction(List<Point<double>> points) → void
Sets piecewise linear scale, depending on the zoom. The 'points' must be sorted by x; x coordinates must be unique. If zoom < minZoom(points) or zoom > maxZoom(points), it is set within the defined bounds before applying the function. By default, the scale function is defined by a single point (1, 1). If points is null or points.empty(), it resets the function to the default. If points.size() == 1, the scale is constant and equals point.y.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited