PixelConverter

Put problem concerning MapActivities, MapViews, Overlays and GPS in this forum.

PixelConverter

Postby Marcel » Tue Aug 19, 2008 10:49 am

Hello,

did someone figure out how to use the PixelConverter (Overview of Changes says: "MapView.PixelCalculator was moved out into its own class PixelConverter") in the new SDK? The class is only visible in its own package...
Marcel
Freshman
Freshman
 
Posts: 9
Joined: Sun Jan 20, 2008 7:49 pm
Location: Germany

Top

Postby cdoepken » Tue Aug 19, 2008 9:14 pm

Look at the api for the Overlay class you can see the draw method:

http://code.google.com/android/referenc ... an,%20long)

There is a note there about using getProjection() :
the MapView that requested the draw. Use getProjection() to convert between on-screen pixels and latitude/longitude pairs.


So I think there was an error in the Change Log. Its Projection not PixelConverter.
cdoepken
Once Poster
Once Poster
 
Posts: 1
Joined: Tue Aug 19, 2008 9:09 pm

Top

Return to Map Problems

Who is online

Users browsing this forum: No registered users and 5 guests