🧪 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 push_map

Save current map view configuration. This is part of the reference section.

Purpose

Save current map pan, zoom, and pixel placement to the map history. This works as a stack (like a stack of plates) where this puts a new plate on the top of the pile. This will leave the current map configuration in the sketch unchanged.

Snippet

Save the map view configuration.
sketch.push_map()

Availability

Available for all platforms.

See also