Build a share link
build_share_urlBuild Globestudio URLs for a customized globe. Start from a preset (look) or change an existing link (share_url, e.g. one the user pasted): pass only the settings to change and everything else in the link is kept. Returns share_url (opens the studio with those settings) and embed_url (the bare canvas, for iframes).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| look | No | Preset id, e.g. 'halftone'. Required unless share_url is given. | |
| shape | No | ||
| config | No | Any other setting, using the keys read_share_url returns in config, e.g. {"viewMode": "flat"} or {"globeSettings": {"autoSpin": false}}. {"viewSwitch": true} gives the embed a Globe and Map switch in its corner, so visitors can turn the globe into the flat map and back. Nested settings merge key by key; keys Globestudio does not accept come back in ignored. With "v": 3, as read_share_url returns for a link that has it, its colors render as their hex; without it they render darker, as in links before v3. | |
| density | No | ||
| dotColor | No | Hex color, e.g. '#3df4ff'. | |
| selection | No | Region: 'world' (default), ISO country code ('JP' or 'JPN'), country name ('Japan'), continent ('Europe'), or subregion ('Western Europe'). | |
| share_url | No | A Globestudio link to change instead of starting from a preset. | |
| background | No | Background hex. |