开发者

CLLocationCoordinate2DMake behaviour

ok im trying to deal with something strange and i don't know if its just me

im trying to use

 CLLocationCoordinate2D newCoord = CLLocationCoordinate2DMake(54.607313, -1.292585);

if i write it like this it works fine, but if i try to use

CLLocationCoordinate2D newCoord = CLLocationCoordinate2DMake(lat, lng);

(lat and lng values passed fro开发者_JAVA百科m previous vc) i does not work. i can log out the numbers and they are the same.

society[1703:307] 1.052294 society[1703:307] 1.052294

am i doing something silly?


ok , yes i was doing something stupid, and just to point it out remember when working with coords the "-" is a very important symbol

:O

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜