take Snapshot
Takes a snapshot of the map at the specified alignment.
Notes:
This function only works if the map is ready (
map
is not null).It requires an active composition with this state to take effect.
Return
The result of the snapshot operation, or null
if the map is not ready or there is no active composition.
Parameters
alignment
The alignment of the snapshot within the map.