howdy!

i see strange behaviour in my logs:
take the following code, assuming location is a valid filled object:
                Location newLoc=(Location)message.obj;
                Log.d("DEBUGLOCAL","passed loc ob="+newLoc.toString());
                int intlat=(int)(newLoc.getLatitude() * 1E6);
                int intlon=(int)(newLoc.getLongitude() * 1E6);
                Log.d("DEBUGLOCAL","passed loc converted INT values\n
lat="+intlat+"\n lon="+intlon);
              GeoPoint newPos=new GeoPoint(
                          intlat,
                          intlon
                         );
              Log.d("DEBUGLOCAL","passed loc create GEOPOINT values\n
lat="+newPos.getLatitudeE6()+
                         "\n lon="+newPos.getLongitudeE6());
i get the following output
  229              DEBUGLOCAL  D  passed loc converted INT values
  229              DEBUGLOCAL  D   lat=123002050
  229              DEBUGLOCAL  D   lon=123002050
  229              DEBUGLOCAL  D  passed loc create GEOPOINT values
  229              DEBUGLOCAL  D   lat=80000000  <----WTF??
  229              DEBUGLOCAL  D   lon=123002050

that surely isn't right ?
stable across 1.6 to 2.1 gmaps emulators.
as google api page doesn't have a bug tracker, does this belong into
the android bugtracker ?

ideas for solutions welcome.

cheers,
zero

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to