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
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
- _...Add new stuff here..._

### 🐞 Bug fixes
- The validator no longer fails if the style lacks a `glyphs` property ([#1347](https://github.com/maplibre/maplibre-style-spec/pull/1347))
- _...Add new stuff here..._

## 24.3.0
Expand Down
3 changes: 0 additions & 3 deletions src/validate/validate_property.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,6 @@ export function validateProperty(options, propertyType) {
const errors = [];

if (options.layerType === 'symbol') {
if (propertyKey === 'text-field' && style && !style.glyphs) {
errors.push(new ValidationError(key, value, 'use of "text-field" requires a style "glyphs" property'));
}
if (propertyKey === 'text-font' && isFunction(deepUnbundle(value)) && unbundle(value.type) === 'identity') {
errors.push(new ValidationError(key, value, '"text-font" does not support identity functions'));
}
Expand Down
21 changes: 0 additions & 21 deletions test/integration/style-spec/tests/missing-glyphs.input.json

This file was deleted.

This file was deleted.

6 changes: 0 additions & 6 deletions test/integration/style-spec/tests/missing-glyphs.output.json

This file was deleted.