Discussion Forums  >  Maps, Device Location, Tracking

Replies: 8    Views: 274

AppOne
buzztouch Evangelist
Profile
Posts: 348
Reg: Apr 03, 2012
London
13,980
11/02/12 05:18 AM (11 years ago)

Maps and Japan

Funny, any time I put a Japanese location in the Location Map I get an error. Anywhere else I've tried is fine, but not Japan. --- erminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'Invalid Region <center:+46.09007935, +29.51027020 span:+178.83185666, +450.00000000>'
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
11/02/12 09:21 AM (11 years ago)
When you put in the lat/long values, are you using a + before the number? They are indeed positive values in Japan, but I think if you add the +, it'll cause the error. It should handle a - for locations where appropriate, but otherwise assumes it's a positive value. Mark
 
AppOne
buzztouch Evangelist
Profile
Posts: 348
Reg: Apr 03, 2012
London
13,980
like
11/02/12 09:52 PM (11 years ago)
Hi Mark, not putting in a + in the control panel Strangely, the coordinates in the error message are nothing to do with the lat/long in found for my location. Wonder if iOS maps are doing something weird - I heard their Japan mapping data isn't up to speed yet...
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
11/02/12 10:04 PM (11 years ago)
Could very well be a iOS 6 maps issue. But it's odd that it's not working...it's a simple latitude/longitude pair. That should be easy enough to plot on a map. Have you tried any positive/positive pairs outside of Japan as a test?
 
AppOne
buzztouch Evangelist
Profile
Posts: 348
Reg: Apr 03, 2012
London
13,980
like
11/02/12 10:08 PM (11 years ago)
Yes Germany is working!!
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
11/02/12 10:21 PM (11 years ago)
Well, that narrows things down then I think! It could indeed be a problem related to Japan itself. Have you tried other points in Japan...east to west, north to south?
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
11/02/12 10:23 PM (11 years ago)
 
AppOne
buzztouch Evangelist
Profile
Posts: 348
Reg: Apr 03, 2012
London
13,980
like
11/02/12 11:51 PM (11 years ago)
Yes I've tried multiple Japanese locations - although not as systematically - so will try. Will also try other points in Asia.
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
11/03/12 02:06 AM (11 years ago)
Looked into this (via email message) and think it's related to the "center map" routine after the pins are dropped. I'll freak out if we spend forever trying to find something iOS broke. LOL. Will post here after @AppOneBeta and we get it sleuthed out.
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.