I'm unable to make my custom marker in an Android App Rotate when using Google Maps API v2. I want to show the rotation like it occurs in the Uber App. I've set the flat property on the Marker, but it doesn't help. Following is the snippet
Marker marker = map.addMarker(new MarkerOptions().position(latLng).icon(BitmapDescriptorFactory.fromResource(R.drawable.vehicle_marker)).flat(true).anchor(0.5f,0.5f));