Origin Latitude/longitude: 39.50000000,-84.78000000
Destination Latitude/longitude: 28.42000000,-81.31000000
How can I draw its bounding box?
The correct bounding box is:
+-----1
| / |
| / |
| / |
2-----+
I'm intrested to find 1 and 2 points.
I'm also attaching Image for better understanding the requirements.
I am writing code in PHP.