getBoundsOfRadius function

LatLngBounds getBoundsOfRadius(
  1. LatLng center,
  2. double radiusInMeter
)

Implementation

LatLngBounds getBoundsOfRadius(LatLng center, double radiusInMeter) {
  final northEast = _getEndPoint(center, 45, radiusInMeter);
  final southWest = _getEndPoint(center, 225, radiusInMeter);
  return LatLngBounds(southwest: southWest, northeast: northEast);
}