toDrawable abstract method

PolygonLayerOptions toDrawable({
  1. Color? fillColor,
  2. Color borderColor = const Color(0x00000000),
  3. double borderStrokeWidth = 3,
  4. bool isDotted = false,
})

Create a drawable area for a FlutterMap out of this region

Returns a PolygonLayerOptions to be added to the layer property of a FlutterMap.

Implementation

PolygonLayerOptions toDrawable({
  Color? fillColor,
  Color borderColor = const Color(0x00000000),
  double borderStrokeWidth = 3,
  bool isDotted = false,
});