I'am trying to draw a line above mapkit. If I try to set the region my app crashes:
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'Invalid Region <center:-106.01842850, +37.33390400 span:+0.01000000, +0.01000000>'
span waas set manually.
Why does mapkit says that this is an invalid region?
thanks!
If you need more code just let me know...
Already solved: the routing source changed lat and long.
got the same problem.
what do you mean by "the routing source changed lat and long" ?
EDITED AND SOLVED : under sdk 3.1, latitudeDelta can't be left to 0 like on 3.0, so that's the reason the app is crashing.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.