build_share_url
Build 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}}. Nested settings merge key by key; keys Globestudio does not accept come back in ignored. | |
| 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. |