Releases: iTowns/itowns
Release 2.27.0
BREAKING CHANGES
- source: the signature function of LASParser.parse and PotreeBinParser.parse has changed.
Features
- add Entwine Point Tile support (697fefb)
- controls: add dispose method in FirstPersonControls and StreetControls (5b308be)
- point: add an intensity range for point clouds (0ff51cc)
- Point: add classification support. (090aa9d)
- View: add View.dispose method. (b8544ae)
Code Refactoring
- ColorLayer: move opacity/visibility ColorLayer handling to MaterialLayer. (63d7b43)
- source: use in/out system in PointCloudNode#load (250b1ee)
- core: remove Layer.parsingOptions. (8175642)
Bug Fixes
- doc: update deprecated parsingOptions. (d90ab27)
- example: broken split rendering div. (fd70c6c)
- examples: update deprecated parsingOptions. (2e59505)
- examples: update draco to work with THREE v121. (7e0428a)
- source: move default format before calling parent constructor (f254032)
- test: fix issue concerning node latest version for deployment (eb738d7)
- test: switch latest node version from 15 to 14 (fe4fbff)
- test: temporary disable the LabelLayer (2af0fd8)
- test: update deprecated parsingOptions. (8642441)
- View: undefined cache after removing layer with multi-view. (d4c9871)
Chores
- docs: add horizontal scroll on the doc content to see the full methods signature (86eae4f)
- export GlobeControls in itowns api (e8e33eb)
- update packages. (76cf992)
Documentation
- source: update WMTSSource class documentation (8d44ee2)
- tutorial: update the beginning of the tutorial to display a geometry layer (e1447b7)
- tutorial: update tutorial on how to create a simple globe (daa5267)
- add webGL 2.0 docs, examples and a tutorial. (bc6ab91)
- missing extends property in source documentation. (c59a892)
examples
- add two Entwine Point Tile examples (581b64d)
Tests
- update opacity/visibility handling. (babd1db)
Release 2.26.0
WebGL 2.0
iTowns supports WebGL 2.0 and is enabled by default.
If you want instance instance with WebGL 1.0 use option renderer: { isWebGL2: false } to instance the viewer.
// for GlobeView
const gView = new GlobeView(viewerDiv, placement, { renderer: { isWebGL2: false } });
// for PlanarView
const pView = new PlanarView(viewerDiv, extent, { renderer: { isWebGL2: false } });
// for View
const view = new View(crs, viewerDiv, { renderer: { isWebGL2: false } });
// is version webgl 2 after instance?
const isWebGL2 = view.mainLoop.gfxEngine.renderer.capabilities.isWebGL2;Deprecated:
Source.projectionandLayer.projectionproperties are deprecated. Usecrsinstead ofprojection.FileSource.parsedDatais deprecated replace byFileSource.features.
feature
- Webgl: add support WebGl 2.0. (b3aa2ff)
Code Refactoring
- Core: rename all properties 'projection' by 'crs'. (15bc424)
- examples: remove multi-instance source. (2984f03)
- geometry: adjust index buffer size to vertex count. (9132e74)
- picking: avoid to instance typed array for each full depth buffer. (ac2e800)
- test: add unit tests and error handling. (0d612a4)
- Provider: loading/caching data in Source. (1340016)
Bug Fixes
- doc: update deprecated 'projection' parameter/property to 'crs'. (148ef0b)
- examples: replace deprecated parsedData by features. (92d9ca0)
- examples: update deprecated 'projection' parameter/property to 'crs'. (d204f65)
- label: breaks word correctly (58f9a04)
- label: correctly hide dom (6bd7be7)
- label: correctly remove labels when LabelLayer is deleted (60cfa44)
- label: delete event to remove LabelLayer. (cca6dfe)
- label: horizon culling (3d2e704)
- label: reduce flickering by ordering label (2ed0fa2)
- test: add default value to tile segment. (5a101f2)
- test: replace deprecated parsedData by features. (096e678)
- test: replace deprecated waitFor method. (70e52ed)
- test: update deprecated 'projection' parameter/property to 'crs'. (3d35877)
- test: update test to dataSourceProvider refactoring. (017d0b2)
- test: update test to dataSourceProvider refactoring. (e78249a)
Chores
- label: remove unnecessary registerLayer (d7f5c06)
- rename parsedData by features. (4cd963d)
- update packages. (7b4a245)
- update THREE package. (7410e7b)
Tests
- label: add test for Label2DRenderer (854022d)
Release 2.25.0
Features
Bug Fixes
- debug: fix debug gui tools. (c9a5395)
- label: allow label to only have an icon (4728d2d)
- label: labels don't jitter anymore (1931326)
- label: makes
LabelLayerable to run alone (8cf0ca6) - label: separate labels dom in layers (84a7ff2)
- style: load patterns correctly (f5a1c95)
- test: more robust animation testing. (6ac683b)
Chores
- deps-dev: bump
node-fetchfrom 2.6.0 to 2.6.1 (de26581)
Performance Improvements
- label: don't loop into
render()if there is noLabelLayervisible (23558d3)
Release 2.24.3
BREAKING CHANGES
- The signature of the
PotreeLayerconstructor has changed.
Bug Fixes
- example: wrong display minimum zoom parameter in immersive view. (4be4805)
- label: delete
LabelLayerif attached layer is also deleted (f3dc93e) - style: correctly read the sprites from VT (b181a5a)
Chores
- deps: bump bl from 4.0.2 to 4.0.3 (e8e04e7)
refacto
Release 2.24.2
Release 2.24.1
Update Three version in build.
Release 2.24.0
Features
- Label: text stroke width support. (07a616c)
- layer: add max and min zoom properties, they define visibility interval. (18c2ec3)
- LayerUpdateState: enhancement handling of no data source. (b0ebfca)
Code Refactoring
- c3Engine: replace WebGLRenderer to WebGL1Renderer. (37aa8e1)
- GeoJsonParser: change filteringExtent parsing option to Extent or boolean, instead of only Extent. (d73c52f)
- Source: clean handling error. (b2399ee)
Bug Fixes
- 3dtiles: update enableDracoLoader (cddf2b9)
- DataSourceProvider: wrong cache keys for vector sources. (a44d003)
- examples: remove redundant parameter (95a5d12)
- potree: a typo disabled progressive display everytime (2431a85)
- raster process: error checking level elevation raster. (c6b8bf9)
- Webgl: tempory fix webgl error. (aca95ed)
Chores
- deps: bump elliptic from 6.5.2 to 6.5.3 (ec2fd4a)
- update packages. (3192f0d)
- deps: bump lodash from 4.17.15 to 4.17.19 (3f24d44)
Performance Improvements
- remove some instanceof that can be avoided (5119853)
examples
- 3D Tiles Add example on 2.5D map (ba1a8c8)
- layer: update examples with max and min zoom properties Layer. (febc656)
- VectorTile: fix wrong max level source. (31e8e91)
Tests
- layer: update examples with max and min zoom properties Layer. (d427aac)
Release 2.23.0
BREAKING CHANGES
-
3d tiles:
-
C3DTilesLayertileIndex renamed to tileset. -
C3DTileset's index attribute renamed to tiles. -
Tilesetindex attribute (stored inlayer.tileIndex.index) is now an array starting at 0. -
extensions are now registered in the
registeredExtensionsattribute ofC3DTilesLayer.
See 3dtiles_batch_table.html for an example. -
C3DTExtensionsexpects for an object extendingC3DTAbstractExtensionto manage a registered extension instead of a parser. -
Rename core 3D Tiles classes:
$3DTilesExtensionsbecomesC3DTExtensions$3dTilesAbstractExtensionbecomesC3DTAbstractExtensionBatchTableHierarchyExtensionbecomesC3DTBatchTableHierarchyExtension
-
New classes maching the 3D Tiles specification:
- C3DTBatchTable
- C3DTBoundingVolume
- C3DTileset
-
Add attributes to 3D Tiles core classes indicating their type
-
-
style:
Style#text.halois not available anymore, and each property of it as been place in thetextobject, with thehaloprefix:haloWidthhaloColorhaloBlur
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)
Tests
Releases 2.22.0
BREAKING CHANGES
- style:
Style#getTextAnchorPositionInCSShas been renamed to
Style#getTextAnchorPosition. - Feature:
Feature#geometryis no longer available, useFeature#geometriesinstead.
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)
Release 2.21.0
2.21.0 (2020-05-06)
BREAKING CHANGES
- style: Style#setFromVectorTile no longer has a
zoom
parameter. Thezoomvalue is equal toStyle#minzoom. - FileSource: Source must be in
Layerconstructor options.
You couldn't add a source after aLayerinstancing. - View: the signature of
View#pickFeaturesAthas changed.
New Features
- style: add partial support for steps in vector tiles (36cdfd4e)
- layer: add
getCurrentMaxZoomproperty to InfoLayer (b35d4147)
Refactors
- style:
- 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:
- OrientedImage: move fetching to OrientedImageSource. (cc66768a)
- source: add C3DtilesSource. (c2e34856)
- convert: handling NaN to minAltitude computing. (3f7cb7ee)
Bug Fixes
- test:
- examples:
- 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:
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)