Skip to content

Release 2.33.0

Compare
Choose a tag to compare
@github-actions github-actions released this 28 May 11:58

2.33.0 (2021-05-28)

BREAKING CHANGES

  • Style/Convert: GeometryLayer.convert options are moved in Style properties.

    • color Convert option is replaced by:
      • Style.fill.color is replaced by:
      • Style.stroke.color
      • Style.point.color
    • altitude Convert option is replaced by:
      • Style.fill.base_altitude
      • Style.stroke.base_altitude
      • Style.point.base_altitude
    • extrude Convert option is replaced by:
      • Style.fill.extrusion_height
    • examples
    • documentation
  • overrideAltitudeInToZero layer options is removed use Style.xxx.base_altitude instead.

  • CameraUtils: The headings used in CameraUtils are now counted clockwise (they were
    previously counted counter-clockwise).

  • Feature: FeatureCollection and Feature signature constructor are changed.

Features

  • Use function to defines Style properties see example WFS to raster
  • ColorLayer: add custom shader to ColorLayer. (2d32888)
  • ColorLayer: add option to filtering textures Layer. (da245f9)
  • Coordinates: add applyMatrix4 method. (061eda0)

Bug Fixes

  • CameraUtils: count heading in clockwise direction (880c67d)
  • CameraUtils: fix rotation animation when start heading is 0 (1ca0c17)
  • CameraUtils: the camera rotation animation take the shortest angle (ae194d3)
  • Controls: replace deprecated THREE.Quaternion.slerp. (2e27408)
  • debug: update coordinates event on mouse move (9b62770)
  • Feature: wrong condition to choose extent crs projection. (73198c7)
  • FeatureToolTip: avoid undefined layer on move. (6ae7305)
  • FileSource: transform extent source if is needed. (0177503)
  • GeojsonParser: store geojson properties within a separate property (121b796)
  • LabelLayer: init LabelLayer visibility with attached ColorLayer. (67f25a1)
  • LayeredMaterialNodeProcessing: prevent errors in layer update when removing layer (d9fda75)
  • PlanarControls: prevent freezing zoom when clicking while zooming with an orthographic camera (b0f0a2d)
  • test: use Extent.applyMatrix4 and Coordinates.applyMatrix4. (bdf50ab)

Examples

  • add custom shader effect example. (15163d9)
  • change buildings id for coloring (3f7ccd0)

Code Refactoring

  • ColorLayer: add effect type ColorLayer parameter. (19d58c6)
  • ColorLayer: remove useless features in ColorLayer command. (66ee340)
  • example: remove unuseless variable. (041b62a)
  • Feature: compute and apply local transform matrix in Feature. (e244f55)
  • Feature: declare constant in file begining. (f44c29e)
  • Feature: FeatureCollection extends by Object3D and use local transform matrix. (8d20315)
  • Feature: normalize crs projection. (f9df7ff)
  • Feature: remove optionsFeature from FeatureCollection. (b15c642)
  • Feature: replace parsing option withNormal and withAltitude by structure. (420ba1a)
  • Feature: simplify build extent check. (0091a5a)
  • Layer: deprecate labelEnable option Layer and replace by addLabelLayer. (082d22c)
  • ShaderChunk: introduce shader chunk manager class to instance ShaderChunk. (e93ed76)
  • Source: avoid to cache raster data in Source. (521ca74)
  • Style/Convert: move options from Converter to Style. (23de259)
  • VectorTileParser: remove unnecessary parameters. (860d748)

Workflow and chores

  • chart.js: update chart.js to 3.0. (6953e01)
  • update packages. (0f54e2e)

Documentation

  • FeatureCollection: clarify FeatureCollection.extent projection. (f612eb3)
  • View: add diffuse parameter documentation. (fcc16da)

Tests

  • unit: update unit tests with feature refactoring. (cbe3e68)