Skip to content

Commit 78e24be

Browse files
authored
rename to vertical-perspective (#891)
1 parent d7444b4 commit 78e24be

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
## main
22

33
### ✨ Features and improvements
4-
Add `general-perspective` projection ([#890](https://github.com/maplibre/maplibre-style-spec/pull/890))
4+
Add `vertical-perspective` projection ([#890](https://github.com/maplibre/maplibre-style-spec/pull/890))
55
- _...Add new stuff here..._
66

77
### 🐞 Bug fixes

src/reference/v8.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4580,7 +4580,7 @@
45804580
"globe": {
45814581
"doc": "Globe projection. Zoom transition from General Perspective projection to Web Mercator projection."
45824582
},
4583-
"general-perspective": {
4583+
"vertical-perspective": {
45844584
"doc": "General Perspective projection."
45854585
}
45864586
}

src/validate/validate_projection.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ describe('Validate projection', () => {
2626
test('Should return errors according to spec violations', () => {
2727
const errors = validateProjection({validateSpec, value: {type: 1 as any}, styleSpec: v8, style: {} as any});
2828
expect(errors).toHaveLength(1);
29-
expect(errors[0].message).toBe('type: expected one of [mercator, globe, general-perspective], 1 found');
29+
expect(errors[0].message).toBe('type: expected one of [mercator, globe, vertical-perspective], 1 found');
3030
});
3131

3232
test('Should pass if everything is according to spec', () => {

0 commit comments

Comments
 (0)