alignNorthUp method
- 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. Ifnull, alignment occurs instantly. Defaults tonull
See also:
- centerOnCoordinates - Center map with custom rotation angle
Implementation
void alignNorthUp({final GemAnimation? animation}) {
objectMethod(_pointerId, 'MapView', 'alignNorthUp', args: animation);
}