github maplibre/maplibre-gl-js v6.0.0-22

pre-release8 hours ago

✨ 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)

Don't miss a new maplibre-gl-js release

NewReleases is sending notifications on new releases.