CircleRegion class

A geographically circular region based off a center coord and radius

It can be converted to a:

Inheritance

Constructors

CircleRegion(LatLng center, double radius, {String? name})
A geographically circular region based off a center coord and radius

Properties

center → LatLng
Center coordinate
final
hashCode int
The hash code for this object.
no setterinherited
name String?
The user friendly name for the region
finalinherited
radius double
Radius in kilometers
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, TileLayer options, {int parallelThreads = 10, bool preventRedownload = false, bool seaTileRemoval = false, int start = 0, int? end, Crs crs = const Epsg3857(), void errorHandler(Object?)?}) DownloadableRegion<List<Object>>
Generate the DownloadableRegion ready for bulk downloading
override
toDrawable({Color? fillColor, Color borderColor = const Color(0x00000000), double borderStrokeWidth = 3.0, bool isDotted = false, String? label, TextStyle labelStyle = const TextStyle(), PolygonLabelPlacement labelPlacement = PolygonLabelPlacement.polylabel}) → PolygonLayer
Generate a graphical layer to be placed in a FlutterMap
override
toOutline() List<LatLng>
Generate the list of all the LatLngs forming the outline of this region
override
toString() String
A string representation of this object.
inherited

Operators

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