Skip to content

Releases 2.22.0

Compare
Choose a tag to compare
@gchoqueux gchoqueux released this 04 Jun 08:29
· 907 commits to master since this release
BREAKING CHANGES
  • style: Style#getTextAnchorPositionInCSS has been renamed to
    Style#getTextAnchorPosition.
  • Feature: Feature#geometry is no longer available, use Feature#geometries instead.
New Features
  • label: add a first implementation of Labels (1d05289d)
  • renderer: add a renderer for Labels (b8cded01)
Refactors
  • core: add Cache Class and instance one cache by Layer. (94a63d7b)
  • style: get anchor position values instead of CSS (#1396) (8c456d73)
Bug Fixes
  • Cache: wrong key handling when the keys count is inferior at 3. (8bafa130)
  • style: add onload handler for symbol icon (0bf3a692)
  • source: set the Style.minzoom correctly in VectorTilesSource (#1395) (f8d9de78)
  • planar: use correct mouse position in PlanarControls (347653ce)
  • sort features by order in VectorTileParser (d0392c2c)
Examples
  • core: rename Feature#geometry to geometries (be61d15e)
  • enable labels in Vector Tiles examples (a9bc6f3e)
  • change the raster GPX example to support labels (b6448b8b)
Chores
  • rename some features variables to collection to avoid confusion (0d400730)
  • fix lint in eslintrc.js (32de0889)
  • update packages. (8529e995)
Tests
  • unit: add onload property to DOMElement (47241b25)