Skip to content

Releases: iTowns/itowns

Release 2.24.3

10 Sep 14:00
Compare
Choose a tag to compare

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

  • add an abstract PointCloud system (7f7cab8)
  • controls: reuse picked position (c7a32f5)
  • material: mutualize common uniform/define methods (693d649)

Release 2.24.2

10 Sep 13:36
Compare
Choose a tag to compare

Bug Fixes

  • label: add compatibility with (7d363a0)
  • style: move label halo management from CSS example to Style.js (e33ec37)

Features

  • style: add a Style (CSS) Chunk system similar to ShaderChunk (877471a)

Release 2.24.1

10 Sep 13:34
Compare
Choose a tag to compare

Update Three version in build.

Release 2.24.0

30 Jul 14:43
Compare
Choose a tag to compare

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

02 Jul 10:03
Compare
Choose a tag to compare

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)

Releases 2.22.0

04 Jun 08:29
Compare
Choose a tag to compare
BREAKING CHANGES
  • style: Style#getTextAnchorPositionInCSS has been renamed to
    Style#getTextAnchorPosition.
  • Feature: Feature#geometry is no longer available, use Feature#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

06 May 09:50
Compare
Choose a tag to compare

2.21.0 (2020-05-06)

BREAKING CHANGES

  • style: Style#setFromVectorTile no longer has a zoom
    parameter. The zoom value is equal to Style#minzoom.
  • FileSource: Source must be in Layer constructor options.
    You couldn't add a source after a Layer 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:
    • add minzoom/maxzoom support (0f677256)
    • make the text outline lighter, and limit it to 1px wide (ba68784b)
  • 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:
    • move Layer.sequence initialization to View. (53fa9a35)
    • Robust layer#whenReady mechanisms. (ab8d3d08)
  • OrientedImage: move fetching to OrientedImageSource. (cc66768a)
  • source: add C3DtilesSource. (c2e34856)
  • convert: handling NaN to minAltitude computing. (3f7cb7ee)

Bug Fixes

  • test:
    • add events managing back in bootstrap (30b3354a)
    • adapt FileSource and avoid overload Fetcher. (d6d32427)
    • add global document before parsing src. (09a200fe)
    • dispose context crash if old canvas is keeped. (df519e1c)
  • examples:
    • wrong altitude points bus line. (9419f975)
    • change tile matrix limit to Ortho Layer. (764d47a5)
  • 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:
    • wrong layers filtering by zoom. (0f20ce3f)
    • wrong calling filter expression. (c1b80659)

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

03 Apr 12:02
Compare
Choose a tag to compare

BREAKING CHANGES

  • the method DEMUtils.getElevationValueAt only returns a value now, if you want the previous object, useDEMUtils.getTerrainObjectAt instead. (e9c2cf6e)

New Features

  • style:
    • add support for complex fields (812207a0)
    • add Style to CSS methods (15699fd7)
    • merge addIconToElement into applyToHTML (c7953a23)
  • 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

Bug Fixes

  • view: check every offset for eventToViewCoords (19f575fe)
  • Tools:
    • wrong OBBHelper visibility and transforming. (02c2105e)
    • wrong parameter for tile cleaning. (0531199a)
  • examples:
    • missing parameters in GUITools creation (98f610c5)
    • change sseThreshold because geometric error sample was changed. (7a021365)

Release 2.19.0

03 Mar 16:15
Compare
Choose a tag to compare

BREAKING CHANGES

  • Potree:
  • Remove Lopocs support.
  • PointCloudLayer was renamed PotreeLayer.
  • PointCloudSource was renamed PotreeSource.
  • 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

  • globecontrol: emitEvent on correct DOMelement (e996369)
  • write a proper mock of DOMElement (2210132)

Release 2.18.0

05 Feb 10:29
Compare
Choose a tag to compare

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)

Chores

  • update packages. (805b896)
  • deps: bump handlebars from 4.1.2 to 4.5.3 (ab81ac2)