Releases: iTowns/itowns
Release 2.24.3
BREAKING CHANGES
- The signature of the
PotreeLayer
constructor has changed.
Bug Fixes
- example: wrong display minimum zoom parameter in immersive view. (4be4805)
- label: delete
LabelLayer
if 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:
-
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)
Tests
Releases 2.22.0
BREAKING CHANGES
- style:
Style#getTextAnchorPositionInCSS
has been renamed to
Style#getTextAnchorPosition
. - Feature:
Feature#geometry
is no longer available, useFeature#geometries
instead.
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. Thezoom
value is equal toStyle#minzoom
. - FileSource: Source must be in
Layer
constructor options.
You couldn't add a source after aLayer
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:
- 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)
Release 2.20.0
BREAKING CHANGES
- the method
DEMUtils.getElevationValueAt
only returns a value now, if you want the previous object, useDEMUtils.getTerrainObjectAt
instead. (e9c2cf6e)
New Features
- style:
- renderer: emit a (in)visible event for
LayeredMaterial
(e889b596) - DEMUtils: change the
getElevationValueAt
method (e9c2cf6e) - core: export itowns release version. (a35943cb)
Refactors
- geographic: unify and encapsulate crs. (8fa4a842)
- core: optimize tile cleaning. (fde63634)
- picking: picking with the new
Raycaster.layers
THREE 114. (b6e162c8) - THREE:
Material.vertexColors
is now a boolean. (825b8677)
Chores
- deps: bump acorn from 6.4.0 to 6.4.1 (f1daec67)
- remove blank line. (3e968cf3)
- update packages. (c59f8383)
Bug Fixes
- view: check every offset for
eventToViewCoords
(19f575fe) - Tools:
- examples:
Release 2.19.0
BREAKING CHANGES
- Potree:
- Remove Lopocs support.
PointCloudLayer
was renamedPotreeLayer
.PointCloudSource
was renamedPotreeSource
.- To add Potree, you need to instance:
PotreeSource
to specify parameters to fetch data.PotreeLayer
to add this points cloud in viewer.
Features
- view: add a
domElement
property (86e0024) - view: add a
resize
method for the viewer (7a70246), closes #1333
Code Refactoring
- debug: OBBHelper extends by THREE.Box3Helper. (7126c08)
- pointCloud: remove Lopocs support. (e81a671)
- pointCloud: use BoxHelper to display point cloud boudingBox. (c04fd64)
- PointCloud: add PointCloudSource and PointCloudNode. (9587fa2)
- PointCloud: change tests units. (4fd93dd)
- potree: use only Potree.load function in provider and add Potree.url getter. (1b31372)
- process: use Geometry.applyMatrix4() to transform vertex position. (0d3789d)
- proj4: simplify coordinates conversion (1d65844)
- style: add default values and proper documentation of Style properties (c86fcc2)
Bug Fixes
- debug: display 3dtiles bbox helper. (f06f28b)
- debug: miss css circle for sse helper. (cc7b463)
- debug: wrong transformation for bbox helper. (6c57158)
- debug: wrong update to potree debug. (93ef794)
- example: picking in kml raster example. (05fa58d)
- examples: bad
this
reference in 3dTilesHelper (26f0de5) - examples: color line function returned black color and add better filter line. (698749d)
- examples: wrong min and max altitude in 2.5D examples. (51fe996)
- GeometryLayer: wrong function declaration. (f5fb861)
- test: fix camera and globecontrol unit tests after proj4 update (edb545c)
- VectorTile: Differentiated style caches with the VectorTileSources. (1dbac04)
- view: use correct DOM element and offset (37047d7), closes #1333
Chores
- css: change z-index of some html elements in examples (04e7c32)
- rename all poinCloudXxx to potreeXxx. (599ea61)
- test: move variables declaration in describe() (a4f792a)
- rename Frustum.setFromMatrix() to Frustum.setFromProjectionMatrix() (81560f2)
- rename Object3D.applyMatrix to Object3D.applyMatrix4 (3d8b083)
- rename THREE.math to THREE.mathUtils (2fb126b)
- update packages. (ca18cec)
Tests
Release 2.18.0
Features
- controls: use a more global div for event listening (e3ff159)
- style: add more complete parsing of vector tiles style (a5cdbf0)
Code Refactoring
- Layer: add c3DTilesLayer. (7b067c7)
- Layer: add PointCloudLayer. (cd49423)
- orientedImage: remove useless material property from oriented image feature. (a67fcb0), closes #990
- View: remove useless provider pre-process. (788454c)
- remove the Feature reference from FeatureGeometry (f703723)
- extent: use global variable in isPointInside (abb72c5)
- layer: move LayerUpdateState to class structure (55f7a2b)
Bug Fixes
- core: remove objects of a GeometryLayer from the Scene (95e420b)
- example: add the GUITools to the parent of viewerDiv (b348207)
- example: don't apply transformation to the camera (5e822af)
- feature: return style when filtering features (0e6d94a)
- layer: wrong default value for min and max subdivision level. (da30c18)
- parser: add an option to parse symbols as circles in VT (586dbb2), closes #1310
- terrain: apply parameter segments to define the segments count by side tile. (0669940), closes #910
- test: change value of visible tiles in planar (c2c5704)