Skip to content

Commit e39513d

Browse files
committed
globe
1 parent cfb8db2 commit e39513d

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-
- Specify projection types to **web-mercator**, **globe-static**, **globe-to-web-mercator** ([#878](https://github.com/maplibre/maplibre-style-spec/pull/878))
4+
- Specify projection types to **web-mercator**, **globe**, **globe-to-web-mercator** ([#878](https://github.com/maplibre/maplibre-style-spec/pull/878))
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
@@ -4577,7 +4577,7 @@
45774577
"web-mercator": {
45784578
"doc": "Web Mercator projection on all zoom levels."
45794579
},
4580-
"globe-static": {
4580+
"globe": {
45814581
"doc": "\"Static Globe\". Spherical projection on all zoom levels."
45824582
},
45834583
"globe-to-web-mercator": {

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 [web-mercator, globe-static, globe-to-web-mercator], 1 found');
29+
expect(errors[0].message).toBe('type: expected one of [web-mercator, globe, globe-to-web-mercator], 1 found');
3030
});
3131

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

0 commit comments

Comments
 (0)