S Startup Active Member Licensed User Longtime User Nov 8, 2016 #1 How do I get the Google Map to rotate so that positions in the direction I'm walking are on top of the screen and positions behind me are below on the screen ie: how to I get the bearing to adjust to the direction I'm traveling?
How do I get the Google Map to rotate so that positions in the direction I'm walking are on top of the screen and positions behind me are below on the screen ie: how to I get the bearing to adjust to the direction I'm traveling?
Erel B4X founder Staff member Licensed User Longtime User Nov 8, 2016 #2 You can set the bearing with CameraPosition.Initialize2 and GoogleMap.AnimateCamera. You can use the GPS library to find the traveling bearing. You can use PhoneSensors to get the heading direction (TYPE_ORIENTATION). Upvote 0
You can set the bearing with CameraPosition.Initialize2 and GoogleMap.AnimateCamera. You can use the GPS library to find the traveling bearing. You can use PhoneSensors to get the heading direction (TYPE_ORIENTATION).
S Startup Active Member Licensed User Longtime User Nov 9, 2016 #3 Erel said: You can set the bearing with CameraPosition.Initialize2 and GoogleMap.AnimateCamera. You can use the GPS library to find the traveling bearing. You can use PhoneSensors to get the heading direction (TYPE_ORIENTATION). Click to expand... That got me going in the right direction . A bit to my surprise I was able to get it all to work OK. Thanks Erel! Upvote 0
Erel said: You can set the bearing with CameraPosition.Initialize2 and GoogleMap.AnimateCamera. You can use the GPS library to find the traveling bearing. You can use PhoneSensors to get the heading direction (TYPE_ORIENTATION). Click to expand... That got me going in the right direction . A bit to my surprise I was able to get it all to work OK. Thanks Erel!