android - Compass bearing doesn't update on Google Map V2 -


i want have smooth compass rotating in googlemap. have created default googlemap project using android studio. add following enable location , compass.

map.setmylocationenabled(true); map.getuisettings().setmylocationbuttonenabled(true); map.getuisettings().setcompassenabled(true); 

but compass doesn't update smoothly; updates once after 10 seconds. can tell me how fix this?


Comments

Popular posts from this blog

twig - Using Twigbridge in a Laravel 5.1 Package -

jdbc - Not able to establish database connection in eclipse -

firemonkey - How do I make a beep sound in Android using Delphi and the API? -