Releases: iTowns/itowns
Releases · iTowns/itowns
Release 2.34.0
2.34.0 (2021-07-30)
Features
- GlobeControls: add support for travel out animation (9db6ecb)
- Label: add support to pass custom
domElementsto labels (example) (b560005) - Layer: add
FeatureGeometryLayer. (0961787) - StateControl: add a method to modify class properties (1e2e11e)
- Style: add support for custom icon in labels (7f355c4)
- Style: add support for custom label anchor (fe2a2d9)
- TMSSource: add support for specific
TileMatrixidentifier (e394255) - View: add double right-click event (9ce7213)
Bug Fixes
- 3Dtiles: remove debugger command. (0a06614)
- eventToViewCoord: check if event.offset properties are defined (26f459a)
- example: generate correct URL when sharing EPT example (8ef0b34)
- FeatureToolTip: fix tooltip legend icon (f632308)
- Label: fix occlusion between icons and label text (29b6435)
- Label: fix Style.text.offset parameter (26b970b)
- Label: rounds the projected coordinates of labels (5d0ca6f)
- LayeredMaterialNodeProcessing: checks for source cache with the layer crs for command cancellation (7570cad)
- tutorial: fix internal link in tutorials (ce8029c)
Examples
- add an example where user can define custom controls (example) (00e62c2)
- GeoJSON raster: center the camera initial position on the displayed features (8d8ac2c)
- geojson-file: refactor example to illustrate two ways of displaying data from a file (4bc0774)
- vectorTile: replace expired source in vector tile examples (8ccc1a3)
Code Refactoring
- GlobeControls: switch travel animation to StateControl (d99827d)
- View: eventToViewCoords returns middle view coords by default (2e501c3)
Workflow and chores
- expose 3dtiles process methods. (7a94570)
- update packages. (50cd744)
- update html titles in some examples (7ea6538)
Documentation
- FeatureGeometryLayer: add jsdoc to documentation config (e77f102)
- README: update deprecated link (b483e0d)
- README: update integration badge to github action (4c77adf)
- Style: add precision on doc (bcee39f)
- tutorials: add support to sort tutorials in sections (e9c8510)
- Fundamentals: add links to documentation (cf30e37)
- Fundamentals: change section titles (296206f)
- Fundamentals: change tutorial links appearance (ac167ec)
- add tutorials on how to use iTowns (5916ac9)
Release 2.33.0
2.33.0 (2021-05-28)
BREAKING CHANGES
-
Style/Convert:
GeometryLayer.convertoptions are moved inStyleproperties.colorConvert option is replaced by:Style.fill.coloris replaced by:Style.stroke.colorStyle.point.color
altitudeConvert option is replaced by:Style.fill.base_altitudeStyle.stroke.base_altitudeStyle.point.base_altitude
extrudeConvert option is replaced by:Style.fill.extrusion_height
- examples
- documentation
-
overrideAltitudeInToZerolayer options is removed useStyle.xxx.base_altitudeinstead. -
CameraUtils: The headings used in
CameraUtilsare now counted clockwise (they were
previously counted counter-clockwise). -
Feature:
FeatureCollectionandFeaturesignature constructor are changed.
Features
- Use
functionto defines Style properties see example WFS to raster - ColorLayer: add custom shader to ColorLayer. (2d32888)
- ColorLayer: add option to filtering textures Layer. (da245f9)
- Coordinates: add applyMatrix4 method. (061eda0)
Bug Fixes
- CameraUtils: count heading in clockwise direction (880c67d)
- CameraUtils: fix rotation animation when start heading is 0 (1ca0c17)
- CameraUtils: the camera rotation animation take the shortest angle (ae194d3)
- Controls: replace deprecated THREE.Quaternion.slerp. (2e27408)
- debug: update coordinates event on mouse move (9b62770)
- Feature: wrong condition to choose extent crs projection. (73198c7)
- FeatureToolTip: avoid undefined layer on move. (6ae7305)
- FileSource: transform extent source if is needed. (0177503)
- GeojsonParser: store geojson properties within a separate property (121b796)
- LabelLayer: init LabelLayer visibility with attached ColorLayer. (67f25a1)
- LayeredMaterialNodeProcessing: prevent errors in layer update when removing layer (d9fda75)
- PlanarControls: prevent freezing zoom when clicking while zooming with an orthographic camera (b0f0a2d)
- test: use Extent.applyMatrix4 and Coordinates.applyMatrix4. (bdf50ab)
Examples
Code Refactoring
- ColorLayer: add effect type ColorLayer parameter. (19d58c6)
- ColorLayer: remove useless features in ColorLayer command. (66ee340)
- example: remove unuseless variable. (041b62a)
- Feature: compute and apply local transform matrix in Feature. (e244f55)
- Feature: declare constant in file begining. (f44c29e)
- Feature: FeatureCollection extends by Object3D and use local transform matrix. (8d20315)
- Feature: normalize crs projection. (f9df7ff)
- Feature: remove optionsFeature from FeatureCollection. (b15c642)
- Feature: replace parsing option withNormal and withAltitude by structure. (420ba1a)
- Feature: simplify build extent check. (0091a5a)
- Layer: deprecate labelEnable option Layer and replace by addLabelLayer. (082d22c)
- ShaderChunk: introduce shader chunk manager class to instance ShaderChunk. (e93ed76)
- Source: avoid to cache raster data in Source. (521ca74)
- Style/Convert: move options from Converter to Style. (23de259)
- VectorTileParser: remove unnecessary parameters. (860d748)
Workflow and chores
Documentation
- FeatureCollection: clarify FeatureCollection.extent projection. (f612eb3)
- View: add diffuse parameter documentation. (fcc16da)
Tests
- unit: update unit tests with feature refactoring. (cbe3e68)
Release 2.32.0
2.32.0 (2021-04-09)
Features
- PlanarControls: add max and min resolution parameters to limit zoom (ad17590)
- PlanarControls: Add property 'Cursor' and method 'setCursor' for cursor modification (0870ede)
- Style: support mapbox expression. (0581d3d)
Bug Fixes
- Atmosphere: avoid several realistic atmosphere initializations. (b949f75)
- Camera: resize preserves the scale (e44de7f)
- extent: forget copy zoom in Extent#transformedCopy. (1a607ea)
- Extent: forgetting zoom property copy, in Extent.as(). (3efea0e)
- Label: wrong div translate. (5ef7197)
- PlanarControls: fix drag when moving out of view domElement (a4f0a3f)
- PlanarControls: prevent triggering new movement when already moving (66256bb)
- test: apply async icon label loading. (76d732a)
- test: update label test with default icon size. (72a98d4)
- test: update vector tile style test with context expression. (c9fc662)
- VectorTileSource: failing to open mapbox url format. (b6dd383)
Examples
- Orthographic: add resolution limit parameters in orthographic examples (aafd37b)
- add atmosphere mars example. (27e28ad)
- update irrelevant titles in some examples (2914286)
Code Refactoring
- Atmosphere: move realistic atmosphere options to Atmosphere constructor. (234a8ee)
- Source: remove extentsInsideLimit. (035701b)
- VectorTilesSource: remove useless styles by zoom. (baabbae)
Workflow and chores
- update packages. (e9ae835)
Documentation
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
PlanarControlsinstance to a newPlanarViewby default (2c9a0e4)
feature
- core: expose
proj4defsmethods. (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
PlanarViewandPlanarControlin examples which use it to match the refactoredPlanarView(with defaultPlanarControlinstantiated) (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)