toOutline method

  1. @override
List<LatLng> toOutline()
override

Generate the list of all the LatLngs forming the outline of this region

Returns a Iterable<LatLng> which can be used anywhere.

Implementation

@override
List<LatLng> toOutline() =>
    [bounds.northEast, bounds.southEast, bounds.southWest, bounds.northWest];