Skip to content

Release 2.23.0

Compare
Choose a tag to compare
@gchoqueux gchoqueux released this 02 Jul 10:03
· 937 commits to master since this release

BREAKING CHANGES

  • 3d tiles:

    • C3DTilesLayer tileIndex renamed to tileset.

    • C3DTileset's index attribute renamed to tiles.

    • Tileset index attribute (stored in layer.tileIndex.index) is now an array starting at 0.

    • extensions are now registered in the registeredExtensions attribute of C3DTilesLayer.
      See 3dtiles_batch_table.html for an example.

    • C3DTExtensions expects for an object extending C3DTAbstractExtension to manage a registered extension instead of a parser.

    • Rename core 3D Tiles classes:

      • $3DTilesExtensions becomes C3DTExtensions
      • $3dTilesAbstractExtension becomes C3DTAbstractExtension
      • BatchTableHierarchyExtension becomes C3DTBatchTableHierarchyExtension
    • New classes maching the 3D Tiles specification:

      • C3DTBatchTable
      • C3DTBoundingVolume
      • C3DTileset
    • Add attributes to 3D Tiles core classes indicating their type

  • style: Style#text.halo is not available anymore, and each property of it as been place in the text object, with the halo prefix:

    • haloWidth
    • haloColor
    • haloBlur

Features

  • Cache: add get/set methods by key array. (9665a43)
  • style:
    • allow URL of a fill.pattern to be used (fae1b34)
    • add Style inheritance (d76a573), closes #1318

Code Refactoring

  • 3d tiles:

    • move attribute from layer to tileset to match spec. (25f59aa)
    • remove BatchTableParser (c027894)
    • rename tileIndex property of C3DTilesLayer to tileset. (8f0baaf)
    • Add spec classes and modify extensions management. (8009f7a)
  • oriented image: remove unnecessary key to cache. (3c5f80c)

  • parser: re-write Matrix4#setMatrix3(). (532a687), closes Matrix4#setMatrix3

  • Provider: remove unnecessary fetchedData source case. (26ea402)

  • Vector Tiles: set style in vector tiles parser. (cd0756f)

Bug Fixes

  • core: forgotten fetch options. (ac8b1e3)
  • examples: GUI errors in examples. (32d856f)
  • gui: prevent other events when the GUI is used. (3dd1b18)
  • label:
    • register the labellayer if added alone (f13c78c)
    • get correct extent destination for a LabelLayer (a304a8d)
    • hide labels when hiding LabelLayers (#1408) (1ca4041)
  • oriented image: wrong feature property calling. (09a39c9)
  • parser: MultiPoint from geojson files were not read correctly (191c97d), closes /tools.ietf.org/html/rfc7946#section-3
  • renderer: set the correct size for labels dom element (9457593)
  • test: wrong adding potree layers. (55e82fc)

Chores

  • 3dtiles: check that extensions found in a tileset have been correctly registered to layer (a436aa9)
  • examples: add tileMatrixSetLimits in a example layer. (338dda0)
  • parser: change @mapbox/togeojson to @tmcw/togeojson (75fb66b)
  • update tests and examples to support the new Style inheritance (4cd9d5d)
  • test: replace bootstrap by mocha hook in functional tests. (395424d)
  • update packages. (de5fd1f)
  • deps: bump websocket-extensions from 0.1.3 to 0.1.4 (cfcc09d)

Documentation

  • 3D Tiles documentation updated.

example

  • add a vector tile example with style drag and drop (eeb6e16)
  • add labels in Shapefile example (c89d284)
  • add labels in VRT example (98dc439)
  • add labels in WFS example (58ee3ba)
  • enable labels in kml example (8d243c2)

Tests

  • Cache: add unit test on setByArray/getByArray (259b38d)
  • Layer: add OrientedImageLayer unit test. (4ff5126)