This part of code a little discouraged me
let center = CLLocationCoordinate2D(
latitude: topLeft.latitude -
(topLeft.latitude - bottomRight.latitude) / 2,
longitude: topLeft.longitude - //////this
(topLeft.longitude - bottomRight.longitude) / 2) //////and this line
a think better if…
let center = CLLocationCoordinate2D(
latitude: topLeft.latitude -
(topLeft.latitude - bottomRight.latitude) / 2,
longitude: topLeft.longitude +
( bottomRight.longitude - topLeft.longitude) / 2)
… better for understanding