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
[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 - Problems with getBearing()

Problems with getBearing()

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

Problems with getBearing()

Postby grbrg » Fri Jul 24, 2009 1:32 pm

Hi all,

I don't seem to be able to get the bearing I am currently facing from the LocationProvider (GPS). I get the position just fine and it updates correctly, however the bearing is always returned as 0.0f. Since it is GPS the provider of course hasBearing(), so this is not the cause. Anything I'm missing here?
grbrg
Developer
Developer
 
Posts: 34
Joined: Mon Jul 13, 2009 1:55 pm

Top

Postby grbrg » Fri Jul 24, 2009 5:50 pm

I just found out the solution myself: the location provider (GPS in this case) only provides the bearing the device is traveling in - NOT the direction the device is facing when standing still. Correct me if I'm wrong, but I'm using the SERVICE_ORIENTATION now, which works quire well... :)
grbrg
Developer
Developer
 
Posts: 34
Joined: Mon Jul 13, 2009 1:55 pm

Top

Return to Map Problems

Who is online

Users browsing this forum: No registered users and 1 guest