🧪 Version 0.3.1 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 set_map_pan

Indicate where point should be at the center of the map geographically. This is part of the reference section.

Purpose

Indicate a latitude and longitude point which is where the map projection should be centerered geographically.

Snippet

Center the map on coordinate longitude of 1 degrees and latitude of 2 degrees.
sketch.set_map_pan(1, 2)

Parameters

  • longitude: The center longitude in degrees.
  • latitude: The center latitude in degrees.

Examples

Availability

Available for all platforms.

See also