/**
* Initialize a latitude and longitude structure body
*/
Cllocationcoordinate2d Center = {[Latitudetf.text floatvalue],[longitudetf.text floatvalue]};
/**
* Region represents an area of the map with two fields one is center, which is the latitude and longitude of the central point of the region; Span represents the range of Regoin. It has two fields one is Latitudedelta, the latitude range, south latitude and north latitude plus should have 180 degrees, so its range should be greater than 0 degrees, less than or 180 degrees, and the other is Longitudedelta, representing the longitude range, east and West Plus should have 360 degrees , so its range should be greater than 0 degrees, less than 360 degrees.
*/
Mkcoordinatespan span;
/**
* Set Accuracy
*/
Span.latitudedelta = 0.05;
Span.longitudedelta = 0.05;
Mkcoordinateregion region = {Center,span};
/**
* Jump to Current location
*/
[Mapview setregion:region Animated:yes];
How IOS locates locations based on latitude and longitude