Skip to content

Commit db1ea2f

Browse files
committed
Update schema and types
1 parent e2b2024 commit db1ea2f

2 files changed

Lines changed: 11 additions & 0 deletions

File tree

src/types/generated/schema.d.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12626,6 +12626,11 @@ export interface MapLayout {
1262612626
lon?: number;
1262712627
};
1262812628
domain?: Domain;
12629+
/**
12630+
* Determines whether the map view auto-fits to the data. For *true* (default), `center` and `zoom` are computed from the provided lon/lat coordinates, For *false*, `center` and `zoom` are computed from the schema defaults or user-supplied values. If `fitbounds` is enabled but a user provides `center` or `zoom`, auto-fit will be skipped.
12631+
* @default true
12632+
*/
12633+
fitbounds?: boolean;
1262912634
layers?: Array<{
1263012635
/** Determines if the layer will be inserted before the layer with the specified ID. If omitted or set to '', the layer will be inserted above every existing layer. */
1263112636
below?: string;

test/plot-schema.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3806,6 +3806,12 @@
38063806
}
38073807
},
38083808
"editType": "plot",
3809+
"fitbounds": {
3810+
"description": "Determines whether the map view auto-fits to the data. For *true* (default), `center` and `zoom` are computed from the provided lon/lat coordinates, For *false*, `center` and `zoom` are computed from the schema defaults or user-supplied values. If `fitbounds` is enabled but a user provides `center` or `zoom`, auto-fit will be skipped.",
3811+
"dflt": true,
3812+
"editType": "plot",
3813+
"valType": "boolean"
3814+
},
38093815
"layers": {
38103816
"items": {
38113817
"layer": {

0 commit comments

Comments
 (0)