Releases: iTowns/itowns
Releases · iTowns/itowns
Release 2.31.0
2.31.0 (2021-03-02)
Bug Fixes
- GlobeLayer: doesn't subdivise the pole tile mesh. (53a9f6f)
- PlanarControls: fix pan movement (5be30b7)
- PlanarControls: standardize zoom factors for perspective and orthographic camera (c65bbab)
- Points: remove THREE.Geometry. (6ff3b3d)
- RasterColorTile: wrong getter name. (1f7eb05)
Examples
- correct zoom factor parameter in examples (a86e3f8)
Code Refactoring
- Debug: simplified point debug code. (c99fb09)
- GlobeControls: refactor zoom speed management (57f6666)
- Immersive: replace Matrix4.makeBasisFromMatrix by Matrix4.setFromMatrix3. (d442602)
- MaterialLayer: MaterialLayer to RasterNode. (46b19f1)
- PlanarControls: refactor zoom speed management (ca47389)
- points: avoid clone point material. (174a60f)
- RasterTile: rename file. (c73fc38)
- View: remove useless getParentLayer method (6f0b545)
- View: simplify getLayerById method. (58874ec)
Workflow and chores
- update package-lock.json. (b3e81fc)
- deps-dev: bump marked from 1.2.9 to 2.0.0 (46bc3f9)
- update packages. (09f12c9)
Tests
- MaterialLayer: update tests with the MaterialLayer refactoring. (0fa3c06)
Release 2.30.0
2.30.0 (2021-02-05)
Features
- View/CameraUtils: add possibility to set camera placement from an extent (d6b2ab4)
- VectorTilesSource: store parsed vector tile style as class property (bb581fb)
Bug Fixes
- Camera: rename intersectSphere to intersectsSphere (f5e1004)
- examples: rename smartZoom param in vector_tile_raster_2d (ca7aaeb)
- examples: update three version in view_mutli_25d (7778a4d)
- Terrain: use exact method to compute min and max elevation node; (6297c09)
Examples
- OrthographicCamera: set camera initial position from an extent (6c10ba2)
Code Refactoring
- Camera: refactor Camera as an ES6 class (596cee6)
- Camera: remove matrixProjectionNeedsUpdate. (a501c92)
- debug: remove three r124 warning. (9c2406f)
- layer: introduce RasterLayer. (e7b2653)
- Layer: Layer constructor parameter needs Source. (11b8645)
Workflow and chores
- update packages. (a5d2cad)
Release 2.29.2
Release 2.29.1
Release 2.29.0
2.29.0 (2021-01-21)
Features
- controls: add damping factor property. (22d962d)
- controls: add option enable smart travel in planarControls (a31873d)
- orthographic camera: add support for an orthographic camera (de0dba6)
- points: apply opacity classification on others MODE. (e411425)
- webgl: support pick position from depth buffer with ortho (05fb79f)
Bug Fixes
- ColorLayer: wrong white to opacity effect. (9666822)
- controls: moving camera after disabling collision. (2dd8e06)
- controls: remove prevent default in mouseDown. (c866807)
- examples: fix key events in examples (c187616)
- PlanarControls: remove previously instantiated controls associated (2726101)
- PlanarControls: reset focus policy default parameters (b56aaaf)
- test: update a deprecated method call (497d55e)
- workflow: wrong path to build docs link. (066f54a)
Examples
- orthographic camera: add examples of PlanarView with an orthographic camera (d58c1b6)
Code Refactoring
- Three: remove deprecated matrix method. (fffef40)
- Three: remove deprecated quaternion method. (f435fef)
Workflow and chores
- release v2.29.0 (8c69ef6)
- add action github to release and npm publish. (eef3d53)
- add bump script. (9e0f7b6)
- add changelog script. (f7f6c40)
- add github action to continuous integration (e8e4f01)
- add script to unit tests coverage. (7c128ab)
- prepare migrating to webpack 5. (9a549d4)
- refactoring debug npm script. (b56f8b0)
- example: rename start zoom to smart travel in key bindings description (24c7c2b)
- remove deprecated babel-polyfill (2e3de03)
- remove useless integration files. (349e1b4)
- update actions/setup-node to v2. (e3e31c0)
- upgrade and update lock file version to 2.0. (537345b)
- deps: bump ini from 1.3.5 to 1.3.7 (fd46fd1)
- update packages. (34ee221)
Documentation
- workflow: bump and changelog scripts. (01bf159)
Others
Release 2.28.1
Bug Fixes
- install: prepare script spends a lot of time, to check npm version. (a557cbf)
Release 2.28.0
BREACKING CHANGES
In release 2.28.0, if you instance PlanarView
, the view instances also PlanarControls
.
If you want instance a another controls, add noControls: true
in your PlanarView
options.
Otherwise you would have conflicts with both controls.
In your user case, remove old PlanarControls
instance.
- PlanarView: associate a
PlanarControls
instance to a newPlanarView
by default (2c9a0e4)
feature
- core: expose
proj4
defs
methods. (619077e) - scale 2D: trigger event when 2D map animation is over to detect when scale computation is relevant (bb5758a)
Code Refactoring
- planar examples: refactor the implementation of
PlanarView
andPlanarControl
in examples which use it to match the refactoredPlanarView
(with defaultPlanarControl
instantiated) (8ad6a9f) - planarControls: refactor planar controls as an ES6 class (348c7e7)
Bug Fixes
Chores
- npm update lock file. (9c1857d)
- update packages. (3a422f1)
- use current node version to test and deploy. (0a7e22b)
examples
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.projection
andLayer.projection
properties are deprecated. Usecrs
instead ofprojection
.FileSource.parsedData
is 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
LabelLayer
able 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-fetch
from 2.6.0 to 2.6.1 (de26581)
Performance Improvements
- label: don't loop into
render()
if there is noLabelLayer
visible (23558d3)