Artboard

Represents a single view inside a Project. An Artboard can be a solid color, an image, or an OpenStreetMap (OSM) tile map. Objects are placed on Artboards, and the widget can switch between multiple Artboards.

Schema

Name Type Description Default
id string A unique identifier for the artboard.
name string A human-readable name for the artboard. Untitled Artboard
type
"color""image""osm"
Determines the type of artboard: solid color, uploaded image, or OpenStreetMap tiles. color
embedding_url string Optional embedding URL for iframe or external integrations.
image_url string URL of the background image if type = "image".
width number Width of the artboard in pixels. 800
height number Height of the artboard in pixels. 600
bg_color string Background color of the artboard (used if type = color). #ffffff
osm_lat number Latitude of the map center (if type = osm). 0
osm_lng number Longitude of the map center (if type = osm). 0
osm_zoom number Zoom level of the map (if type = osm). 1
objects Object [] List of objects placed on this artboard. Object[]