Im using twitter stream api for my ios project. Stream API has a location parameter. How can i get bounding box coordinates from user location(lat/long) and 1km distance ? Is there any API or tool in MapKit or mathematical functions ?
Input
(latitude = 37.785834, longitude = -122.406417)
Distance = 1000 meter
Output
latMin: 37.789934 longMin : -122.416417
latMax: 37.787834 longMax : -122.396417