MapLibre GL JS v6.0.0-22

v6.0.0-22Pre-release
Added 1
  • Validate the terrain passed to map.setTerrain
Changed 2
  • Improve runtime error warnings to point at the offending style location instead of just logging the bare error message
  • Interpolate the light position in spherical coordinates instead of cartesian ones so that a transition keeps its radial distance
Fixed 2
  • Log style validation warnings instead of treating them as errors so that a filter mixing legacy and expression syntax no longer aborts the style load and blanks the map
  • Validate raster-dem sources passed to map.addSource and stop a source type the style spec has no schema for from failing the whole style
✨ Features and improvements
  • Validate the terrain passed to map.setTerrain, which was previously applied unchecked (#7941) (by @HarelM)
  • Improve runtime error warnings to point at the offending style location (e.g. layers[3].paint.line-color, layers[3].filter) instead of just logging the bare error message (#7869) (by @CommanderStorm)
  • ⚠️ Interpolate the light position in spherical coordinates instead of cartesian ones, so that a transition keeps its radial distance. (#7919) (by @HarelM)
🐞 Bug fixes
  • Log style validation warnings instead of treating them as errors, so that a filter mixing legacy and expression syntax no longer aborts the style load and blanks the map (#7941) (by @HarelM)
  • Validate raster-dem sources passed to map.addSource, which were previously skipped. Stop a source type the style spec has no schema for, such as one registered with addSourceType, from failing the whole style. Previously only canvas was let through (#7941) (by @HarelM)
View original

Upgraded? How did it go?

Discussion