LineRegion class

A region with the border as the locus of a line at it's center

Implemented types

Constructors

LineRegion(List<LatLng> line, double radius)
Creates a region with the border as the locus of a line at it's center

Properties

hashCode int
The hash code for this object.
no setterinherited
line List<LatLng>
A line defined by a list ofLatLngs
final
radius double
The offset of the border in each direction in meters, like a radius
final
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
toDownloadable(int minZoom, int maxZoom, TileLayerOptions options, {int parallelThreads = 10, bool preventRedownload = false, bool seaTileRemoval = false, int start = 0, int? end, Crs crs = const Epsg3857(), void errorHandler(Object?)?}) DownloadableRegion
Create a downloadable region out of this region - for more information see DownloadableRegion's properties' documentation
override
toDrawable({Color? fillColor, Color borderColor = const Color(0x00000000), double borderStrokeWidth = 3.0, bool isDotted = false, bool prettyPaint = true, int curveSmoothening = 50, int overlap = 0}) → PolygonLayerOptions
Create a drawable area for a FlutterMap out of this region
override
toList() List<LatLng>
This method is unavailable for this region type: use toOutlines instead
override
toOutlines([int overlap = 0]) List<List<LatLng>>
Creates a list of rectangles made of the locus of the specified line which can be used anywhere
toString() String
A string representation of this object.
inherited

Operators

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