Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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