我想根据从加速度计接收到的方位或传感器值旋转标记,以向用户显示他实际移动的位置。我已将标记图标和平面值设置为true,但它没有按要求工作。mCurrentLocationMarker.position(newLatLng(LocationUtils.sLatitude,LocationUtils.sLongitude));mCurrentLocationMarker.icon(icon);mCurrentLocationMarker.flat(true);mCurrentLocationMarker.rotation(LocationUtils.sBearing);if(current
我想根据从加速度计接收到的方位或传感器值旋转标记,以向用户显示他实际移动的位置。我已将标记图标和平面值设置为true,但它没有按要求工作。mCurrentLocationMarker.position(newLatLng(LocationUtils.sLatitude,LocationUtils.sLongitude));mCurrentLocationMarker.icon(icon);mCurrentLocationMarker.flat(true);mCurrentLocationMarker.rotation(LocationUtils.sBearing);if(current