On Mon, Jul 19, 2010 at 8:54 PM, Dave Bryson <[email protected]> wrote: > I'm curious, why does GeoPoint uses micro degrees ( Ex: lat/lng * > 1000000 ) versus just a double lat/lng ?
Speed. Floating-point math sucks on a device without hardware floating-point support. By going with integer microdegrees, they can stick with integer math, yet still have fairly decent resolution. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _The Busy Coder's Guide to Android Development_ Version 3.1 Available! -- 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

