Skip to content

Commit 8a6ddda

Browse files
woodroofgithub-actions[bot]
authored andcommitted
Remove transition: true and interpolated: true from camera-projection property, as enums can't be transitioned anyway
GitOrigin-RevId: d198d9757a5ab64214f0bfd7170de370a9fe6b3a
1 parent 762299b commit 8a6ddda

2 files changed

Lines changed: 1 addition & 9 deletions

File tree

src/style-spec/reference/v8.json

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6653,13 +6653,6 @@
66536653
"doc": "Projection where objects are of the same scale regardless of whether they are far away or near to the camera. Parallel lines remains parallel and there is no vanishing point."
66546654
}
66556655
},
6656-
"transition": true,
6657-
"expression": {
6658-
"interpolated": true,
6659-
"parameters": [
6660-
"zoom"
6661-
]
6662-
},
66636656
"sdk-support": {
66646657
"basic functionality": {
66656658
"js": "3.0.0",

src/style-spec/types.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -310,8 +310,7 @@ export type RainSpecification = {
310310
};
311311

312312
export type CameraSpecification = {
313-
"camera-projection"?: PropertyValueSpecification<"perspective" | "orthographic">,
314-
"camera-projection-transition"?: TransitionSpecification
313+
"camera-projection"?: "perspective" | "orthographic"
315314
};
316315

317316
export type ColorThemeSpecification = {

0 commit comments

Comments
 (0)