setBasemap
Change the active basemap in a 3D globe. Choose from predefined styles (dark, satellite, standard) or provide a custom tile URL.
Instructions
Switch the visible basemap style. Returns { success, data: { basemap }, message? }.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Custom URL template with {x},{y},{z} placeholders. When provided, basemap param is ignored. | |
| token | No | Token for providers requiring authentication (e.g. Tianditu) | |
| basemap | No | Basemap type: dark=dark theme, satellite=satellite imagery, standard=standard, osm=OpenStreetMap, arcgis=ArcGIS streets, light=light theme, tianditu_vec=Tianditu vector, tianditu_img=Tianditu imagery, amap=Amap roads, amap_satellite=Amap satellite | dark |
| sessionId | No | Target browser session ID for multi-browser routing (optional) |