开发者

Draw line above Mapkit: Invalid Region error

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 开发者_Go百科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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜