🧪 Version 0.2.2 is our alpha release candidate. Please send us bug reports and suggestions!

Sketchingpy

Creative coding and interactive science everywhere for everyone: web, desktop, mobile, Jupyter, and more. Open source!

Reference for pop_map

Restore a previously saved map view configuration. This is part of the reference section.

Purpose

Restore the most recently saved map view configuration saved in style history, removing that config from the history. This works as a stack (like a stack of plates) where the top of the pile is taken off and restored, removing it from that stack. This will overwrite the current map view configuration in the sketch.

Snippet

Load a previous map view configuration.
sketch.pop_map()

Availability

Available for all platforms.

See also