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

symfony - TEST environment only: The database schema is not in sync with the current mapping file -

twig - Using Twigbridge in a Laravel 5.1 Package -

jdbc - Not able to establish database connection in eclipse -