useRotation property

bool useRotation
final

Let you enable/disable Marker rotation: The rotation, also known as bearing/heading, are the angle between two locations and indicate the course or direction from one to another.

 useRotation: true

*Google Maps' Markers use property rotation to change angle position of it. If you're using custom [BitmapDescriptor] remember to set the anchor property according you chosen anchor point of you custom icon.

Implementation

final bool useRotation;