Skip to content

Commit

Permalink
rename to vertical-perspective (#891)
Browse files Browse the repository at this point in the history
  • Loading branch information
birkskyum authored Nov 8, 2024
1 parent d7444b4 commit 78e24be
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
## main

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

### 🐞 Bug fixes
Expand Down
2 changes: 1 addition & 1 deletion src/reference/v8.json
Original file line number Diff line number Diff line change
Expand Up @@ -4580,7 +4580,7 @@
"globe": {
"doc": "Globe projection. Zoom transition from General Perspective projection to Web Mercator projection."
},
"general-perspective": {
"vertical-perspective": {
"doc": "General Perspective projection."
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/validate/validate_projection.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ describe('Validate projection', () => {
test('Should return errors according to spec violations', () => {
const errors = validateProjection({validateSpec, value: {type: 1 as any}, styleSpec: v8, style: {} as any});
expect(errors).toHaveLength(1);
expect(errors[0].message).toBe('type: expected one of [mercator, globe, general-perspective], 1 found');
expect(errors[0].message).toBe('type: expected one of [mercator, globe, vertical-perspective], 1 found');
});

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

0 comments on commit 78e24be

Please sign in to comment.