isTrackObjectFollowingMapRotation property
Whether the position tracker icon rotates with the map view
When true, the position tracking object (typically an arrow or icon) will rotate its orientation to match
the map's rotation. This setting is configured via setMapRotationMode with the objectFollowMap parameter.
Returns
- True if the tracker icon rotation follows map rotation, false if it maintains independent orientation
See also:
- setMapRotationMode - Configure map rotation behavior during follow position
Implementation
bool get isTrackObjectFollowingMapRotation {
final OperationResult resultString = objectMethod(
pointerId,
'FollowPositionPreferences',
'isTrackObjectFollowingMapRotation',
dependencyId: _mapPointerId,
);
return resultString['result'];
}