Open GoogleCodeExporter opened 9 years ago
OK, found the error.
In class ImageManager, you format an URL whithout specifying locale:
@Override
public void run() {
String url = THUMBNAIL_URL;
url = String.format(url, mMinLat, mMinLong, mMaxLat, mMaxLong);
This will format according to the default locale
On my phone I'm running Danish locale.
This makes the URL
//www.panoramio.com/map/get_panoramas.php?
order=popularity&set=public&from=0&to=20&miny=57,587883&minx=10,343802&maxy=57,8
78212
&maxx=10,733816&size=thumbnail
instead of
//www.panoramio.com/map/get_panoramas.php?
order=popularity&set=public&from=0&to=20&miny=57.560585&minx=10.309117&maxy=57.8
13110
&maxx=10.699131&size=thumbnail
(note the commas used as decimal seperator)
Please correct this to
url = String.format(Locale.US, url, mMinLat, mMinLong, mMaxLat,
mMaxLong);
thanks.
Jacob
Original comment by jacob.nordfalk
on 14 May 2010 at 7:13
Original issue reported on code.google.com by
jacob.nordfalk
on 14 May 2010 at 5:51