Question

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.

Was it helpful?

Solution

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top