Breaking changes ⚠️
- Disable
text-variable-anchorwhen appearances are present.
Features and improvements ✨
- Introduce experimental
map.getVerticalFieldOfView(),map.setVerticalFieldOfView(), and read-onlymap.getHorizontalFieldOfView()and an animatablefovcamera option. - Expose
line-border-widthandline-border-coloras public paint properties. - Introduce experimental
line-border-gradientproperty for rendering gradient borders on lines. - Add support for Meshopt v1 compressed models.
- Support string color values for the
model-colorin a model source. - Add
map.resetFeatureStates()to clear all feature states for a featureset or layer. - Expose
map.getSchema()/map.setSchema()for managing the imported style's schema. - Extract development and debug code from the ESM bundle into a separate module.
- Extract more model code from the ESM core bundle.