Release 2.23.0
BREAKING CHANGES
-
3d tiles:
-
C3DTilesLayer
tileIndex renamed to tileset. -
C3DTileset
's index attribute renamed to tiles. -
Tileset
index attribute (stored inlayer.tileIndex.index
) is now an array starting at 0. -
extensions are now registered in the
registeredExtensions
attribute ofC3DTilesLayer
.
See 3dtiles_batch_table.html for an example. -
C3DTExtensions
expects for an object extendingC3DTAbstractExtension
to manage a registered extension instead of a parser. -
Rename core 3D Tiles classes:
$3DTilesExtensions
becomesC3DTExtensions
$3dTilesAbstractExtension
becomesC3DTAbstractExtension
BatchTableHierarchyExtension
becomesC3DTBatchTableHierarchyExtension
-
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 thetext
object, with thehalo
prefix:haloWidth
haloColor
haloBlur
Features
- Cache: add get/set methods by key array. (9665a43)
- style:
Code Refactoring
-
3d tiles:
-
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:
- 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)