You need to use MapView.getProjection().toPixels() and .fromPixels(). On Wed, Aug 20, 2008 at 1:38 AM, Joa <[EMAIL PROTECTED]> wrote: > > In M5 I used MapView.PixelCalculator in overridden methods draw(...) > and onTap(...) of a subclass of Overlay to convert geo locations > (Point / GeoPoint) to screen coordinates. The signatures of these > methods have changed, so I referred to the "Overview of Changes" page > which mentions that "MapView.PixelCalculator was moved out into its > own class PixelConverter". > So I was looking for class PixelConverter. No documentation in the > class reference however. Strange. I was poking around a little and > found that the type com.google.android.maps.PixelConverter exists but > that it is not visible to import and therefore to access methods for > pixel conversion. It appears com.google.android.maps.PixelConverter > has been tucked away by accident? Or is there another method to > convert geo coordinates to screen coordinates? > JP > > > > >
--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] Announcing the new Android 0.9 SDK beta! http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---