JMap.Map.undoLastNavigationStep
Step back in the navigation history recorded in the current map session
Will apply the necessary pan, zoom, bearing and pitch to get back to the last Map view. Maximum number of recorded steps is 64 (older steps get erased)
The last JMapNavigationStep, or undefined if the stack is not rewindable anymore
// navigate to the previous recorded map viewconst lastStep: JMapNavigationStep | undefined = JMap.Map.undoLastNavigationStep() Copy
// navigate to the previous recorded map viewconst lastStep: JMapNavigationStep | undefined = JMap.Map.undoLastNavigationStep()
JMap.Map.undoLastNavigationStep
Step back in the navigation history recorded in the current map session
Will apply the necessary pan, zoom, bearing and pitch to get back to the last Map view. Maximum number of recorded steps is 64 (older steps get erased)