EncodedPath class

Inheritance

Constructors

EncodedPath(String encodedPolyline, {int? weight, Color? color, Color? fillColor, bool? geodesic})
const

Properties

color Color?
(optional) Specifies a path color;
finalinherited
encoded bool
Setting this value to true enables a polyline encoding
finalinherited
encodedPolyline String
Encoded polyline string
final
fillColor Color?
(optional) indicates both that the path marks off a polygonal area and specifies the fill color to use as an overlay within that area. The set of locations following need not be a "closed" loop; the Maps Static API server will automatically join the first and last points. Note, however, that any stroke on the exterior of the filled area will not be closed unless you specifically provide the same beginning and end location.
finalinherited
geodesic bool?
(optional) indicates that the requested path should be interpreted as a geodesic line that follows the curvature of the earth. When false, the path is rendered as a straight line in screen space. Defaults to false.
finalinherited
hasAddressPoints bool
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
points List<Location>
In order to draw a path, the path class must also be passed two or more points. The Maps Static API will then connect the path along those points, in the specified order.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
weight int?
(optional) specifies the thickness of the path in pixels. If no weight parameter is set, the path will appear in its default thickness (5 pixels).
finalinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
toUrlString() String
override

Operators

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