MarkerGrid constructor

MarkerGrid({
  1. required BoundingBox boundingBox,
})

Implementation

MarkerGrid({required this.boundingBox}) {
  latDiff = boundingBox.maxLatitude - boundingBox.minLatitude;
  lonDiff = boundingBox.maxLongitude - boundingBox.minLongitude;
  assert(latDiff > 0);
  assert(lonDiff > 0);
}