Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4362: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4364: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4365: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4366: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
anddev.org • View topic - PixelConverter

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 7 guests