Skip to content

Release 2.21.0

Compare
Choose a tag to compare
@gchoqueux gchoqueux released this 06 May 09:50
· 924 commits to master since this release

2.21.0 (2020-05-06)

BREAKING CHANGES

  • style: Style#setFromVectorTile no longer has a zoom
    parameter. The zoom value is equal to Style#minzoom.
  • FileSource: Source must be in Layer constructor options.
    You couldn't add a source after a Layer instancing.
  • View: the signature of View#pickFeaturesAt has changed.

New Features

  • style: add partial support for steps in vector tiles (36cdfd4e)
  • layer: add getCurrentMaxZoom property to InfoLayer (b35d4147)

Refactors

  • style:
    • add minzoom/maxzoom support (0f677256)
    • make the text outline lighter, and limit it to 1px wide (ba68784b)
  • core: remove BuilderEllipsoidTile#OBB (37c2908a)
  • view: allow GeometryLayer in View#pickFeaturesAt (0c9bf0dc)
  • parser: remove unnecessary extent to parse vector tile file. (2328e4c2)
  • test: use mocha --file to unit tests instead of use first file list. (90c6eafd)
  • FileSource: pre-Parse file in constructor Layer. (8a1193db)
  • Feature: build feature extent with the correct crs. (90cf38cc)
  • Layer:
    • move Layer.sequence initialization to View. (53fa9a35)
    • Robust layer#whenReady mechanisms. (ab8d3d08)
  • OrientedImage: move fetching to OrientedImageSource. (cc66768a)
  • source: add C3DtilesSource. (c2e34856)
  • convert: handling NaN to minAltitude computing. (3f7cb7ee)

Bug Fixes

  • test:
    • add events managing back in bootstrap (30b3354a)
    • adapt FileSource and avoid overload Fetcher. (d6d32427)
    • add global document before parsing src. (09a200fe)
    • dispose context crash if old canvas is keeped. (df519e1c)
  • examples:
    • wrong altitude points bus line. (9419f975)
    • change tile matrix limit to Ortho Layer. (764d47a5)
  • demutils: interpolate values considering noDataValue (3ddaedfb)
  • Core: unnecessary testing. (f5947278)
  • ElevationLayer: avoid to replace value if noDataValue is undefined. (c359c817)
  • DataSourceProvider: wrong withAltitude and withNormal parsing options. (1de4391d)
  • VectorTileParser:
    • wrong layers filtering by zoom. (0f20ce3f)
    • wrong calling filter expression. (c1b80659)

Chores

  • test:
    • move mock file to bootstrap file. (7c702675)
    • add batch table test unit. (e02dc259)
    • add feature2Mesh test unit. (f02b7351)
    • add view test unit. (4c3c2e29)
    • add ellipsoid test unit. (74f2a60a)
    • clean and add GlobeControls unit tests. (f643db7b)
    • add Style unit test and move global declaration to mock file. (b36027ef)
    • add DEMUtils unit test. (025e56c3)
    • rewrote vector tiles testing (4509fa72)
  • add deepscan badge. (1e0f35bd)
  • update packages. (203f5ad2)

Docs

  • Layer: add View#whenReady, View#ready and View#source documentation. (d7bb925e)