how to resize the zoom level at mapping
let spanX = 0.007
let spanY = 0.007
var newRegion = MKCoordinateRegion(center: theMap.userLocation.coordinate, span: MKCoordinateSpanMake(spanX, spanY))
theMap.setRegion(newRegion, animated: true)
change the value of span.
other tracking system is here
http://www.johnmullins.co/blog/2014/08/14/location-tracker-with-maps/
No comments:
Post a Comment