CircleRegion class

A circular region with a center point and a radius

Implemented types

Constructors

CircleRegion(LatLng center, double radius)
Creates a circular region using a center point and a radius

Properties

center → LatLng
The center of the circle as a LatLng
final
hashCode int
The hash code for this object.
no setterinherited
radius double
The radius of the circle as a double in km
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, String? label, TextStyle labelStyle = const TextStyle(), PolygonLabelPlacement labelPlacement = PolygonLabelPlacement.polylabel}) → PolygonLayerOptions
Create a drawable area for a FlutterMap out of this region
override
toList() List<LatLng>
Create a list of all the LatLngs along the outline of this region
override
toString() String
A string representation of this object.
inherited

Operators

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