Reference for set_map_pan
Indicate where point should be at the center of the map geographically. This is part of the reference section.
Arc
Buffer
Data
Dialog
Ellipse
Geo Utils
set_map_pan
Image
Joystick (future)
Keyboard
Line
Mouse / Touchscreen
Pixel
Rectangle
Renderers
Shape
Sound (future)
Style
System
Text
Transform
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.