MapPolylineSolidRepresentation class abstract

Representation for a solid line without outline.

Can represent polylines that have constant width or width dependent on the map zoom.

To achieve constant width lines, use MapMeasureDependentRenderSize with a single value.

To achieve line width dependent on map zoom, use MapMeasureDependentRenderSize with multiple values.

For MapMeasureKind only MapMeasureKind.zoomLevel is supported.

For RenderSizeUnit only RenderSizeUnit.pixels is supported.

Implemented types

Constructors

MapPolylineSolidRepresentation(MapMeasureDependentRenderSize lineWidth, Color color, LineCap capShape)
Creates a representation for a solid line without outline.
factory
MapPolylineSolidRepresentation.withOutline(MapMeasureDependentRenderSize lineWidth, Color color, MapMeasureDependentRenderSize outlineWidth, Color outlineColor, LineCap capShape)
Creates a representation for a solid line with outline.
factory

Properties

capShape LineCap
The cap shape applied to both ends of the polyline and its outline. Returns the cap shape of the polyline and its outline.
no setter
hashCode → int
The hash code for this object.
no setterinherited
lineColor → Color
The color of the polyline. Gets the color of the polyline.
no setter
lineWidth MapMeasureDependentRenderSize
The width of the polyline depending on the map measure. At map measures smaller than smallest map measure in the lineWidth line width is constant and equal to the width given for the smallest map measure in the lineWidth.
no setter
outlineColor → Color
The outline color of the polyline. Gets the color of outline of the polyline.
no setter
outlineWidth MapMeasureDependentRenderSize
The width of the outline on one side of the polyline depending on the map measure. The total width of the polyline is line width + 2 * outline width.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

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