alignNorthUp method

void alignNorthUp({
  1. GemAnimation? animation,
})

Aligns the map to north-up orientation.

Rotates the map so that north points directly upward (0 degrees mapAngle). The operation can be animated for a smooth transition or applied instantly.

Parameters

  • animation: Animation settings for the rotation operation. If null, alignment occurs instantly. Defaults to null

See also:

Implementation

void alignNorthUp({final GemAnimation? animation}) {
  objectMethod(_pointerId, 'MapView', 'alignNorthUp', args: animation);
}