diff --git a/CHANGELOG.md b/CHANGELOG.md index e1b969e96..d04b7875e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/src/reference/v8.json b/src/reference/v8.json index 769eed948..619fc53a9 100644 --- a/src/reference/v8.json +++ b/src/reference/v8.json @@ -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." } } diff --git a/src/validate/validate_projection.test.ts b/src/validate/validate_projection.test.ts index 0915d77a8..454a4adf3 100644 --- a/src/validate/validate_projection.test.ts +++ b/src/validate/validate_projection.test.ts @@ -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', () => {