Releases: ftoromanoff/itowns
Releases · ftoromanoff/itowns
Release 2.45.0
2.45.0 (2025-02-14)
Features
- 3d-tiles: support picking of metadata (031f93e)
- 3dtiles: add deprecation warning to C3DTilesLayer. Use OGC3DTilesLayer instead (cbfd1bb)
- 3dtiles: add tiles-load-start and tiles-load-end events (3d89169)
- 3dtiles: update 3d-tiles-renderer to 0.3.39 (565ba36)
- add
enableMeshoptDecoder
function for GLTFs (3a9784c) - add publiccode (#2417) (cfb9d0f)
- ci: bump node to next LTS (v22) (#2452) (8df42d2)
- controls: add state controls at view init (868889f)
- controls: disabled multi actions when zooming (89bbbd8)
- deprecate Coordinates constructor with array and vector3 (efe9c58)
- eslint: remove preference for default export (#2447) (4e7bcd2)
- Extent: add setFromArray and setFromExtent methods (856bb88)
- globeControls: zoom on mouse position while using wheel (85ce178)
- index.html: auto-redirect to examples (#2478) (1e171ff)
- MVT: change mapBox package to mapLib (b81e8e9)
- VectorTile: add support for relative url in style (09f7adb)
- wms: use proj4 crs axis param (7d67ec4)
Bug Fixes
- 3dtiles: add layer to object returned by OGC3DTilesLayer.pickObjectsAt (25467e5)
- 3DTiles: correctly handle all layer config (e.g. layer name) (0acb0a4)
- babel: include ts files in prerequisites (eb73b45)
- C3DTilesLayer: updateStyle works with new style API (a4f0d22)
- COG: Fix extent in COG parser (452ca7e)
- Crs: correctly renamed reasonableEpsilon function (205c27f)
- crs: fix proj4 unit 'meter' and add 'foot' (07c3f63)
- doc: fix doc generation error (fc2d3ab)
- examples: add envmap for PBR materials in 3d tiles loader example (8b22591)
- examples: fix linked with zoom properties well used (d947233)
- fetcher: improve image loading error log (dc347d1)
- GlobeView: remove default directional light (0a098af)
- i3dm: use instanceId to get info (683e55d)
- LabelLayer: gestion simplified of line and polygon Label (cb3c3b7)
- Label: Multiple labels with same textContent (a2cfd3a)
- MVTLayers: add MVTLayer where MVTStyle.layer has 'ref' properties (497ac8c)
- MVTParser: supp use of layer.style.zoom in parser (6b0e287)
- MVTStyle: Doing recoloring only with sdf icons. (11d10ea)
- MVTStyle: icon properties -> fix return of function when id includes {} (fffecc9)
- OGC3DTilesLayer: handle multiple views (#2435) (b991878)
- PointCloudLayer: use the User value for ElevationRange (if present) (387d64f)
- publiccode.yml: fix the logo URL (822c63b)
- source: support urls already containing query parameters for wms, wmts, and wfs (4f53025)
- Style: cropValueDefault (fe68e41)
- Style: Don't draw Polygon when fill.color is undefined (21b0900)
- Style: Don't draw stroke when width is 0 (b8a13d9)
- Style: dont draw icon when size is 0 (858b89e)
- Style: take style.zoom into account for LabelLayer and Feature2Texture (5ec037b)
- Terrain: fix terrain subdivision when a terrain tile only has values that should be clamped (cb96727)
- test: fix local unit tests behind proxy (9b9d52a)
- test: increase time out (bfdebca)
- tests: re set --no-sandbox (c4629d6)
- test: tempory disable clamp ground test because data server is down (4ee3c7f)
- TileBuilder: use cached buffers correctly (#2491) (f3d2e90)
- TiledGeometryLayer: remove subdivision checking code (#2344) (e386637)
- TiledGeometryLayer: replace get data by the new getPropertyArray (ec665c3)
- TiledGeometryLayer: set autoRefreshToken to true (ebf37dd)
- VectorTile: fix {z}/{y}/{x} (9250fd8)
- VectorTile: supp order in Style as it's only a Label properties in VT (3dc135e)
- wms: assign axis order param from source (aec3ebf)
- wms: take wms 1.1.1 version into account for axis order (0499f95)
- xbilparser: apply zmin / zmax for any texture subsampling size (745ab2c)
- Zoom: use zoom state (426fe29)
Examples
- 3DTiles: create an only 3D tiles example that can load any 3D tiles (3eb7a23)
- MVT: add example with official MapBox style file (d1abe5a)
- PointCloud: fix errors (8dc71f9)
Code Refactoring
- cache: use LRUCache instead of own cache (6d12fde)
- CopcSource: use metadata.wkt to set source.crs (69ed2f4)
- Crs: cleanup unit handling (ea397ee)
- Crs: remove tms/epsg family of functions (83eb0d9)
- Crs: rename toUnit to getUnit (2fdf15a)
- Crs: use named exports instead of default export (fca5a29)
- entwineSource: read crs from metadata.srs (1ecc6aa)
- Layer: remove Object.assign of config (cf41e8d)
- migrate Coordinates to typescript (ec79573)
- migrate Crs to typescript (d884ba6)
- migrate Ellipsoid to typescript (a3fb6c5)
- migrate Extent to typescript (1c41e93)
- migrate Tile to typescript (ac93bfd)
- MVTParser: 1 feature per vtfeature (25db866)
- PointCloudLayer: delete onPointsCreated callback (628ed94)
- PointCloudLayer: promise.catch/finally instead of then(CallBack, errCallBack) (b2bcb7f)
- split Extent between geographic/tiled (4b57498)
- StyleOptions: move StyleOptions from Style to its own file (fdd2bd9)
- test: change timeout (327b914)
- TileBuilder: migrate to TypeScript (#2440) (3207dcd)
- URLBuilder as pure funct...
Release 2.42.0
2.42.0 (2024-02-05)
Features
- Add bboxUrlPrecision parameter (09a037d)
- Add Cloud Optimized GeoTIFF (COG) sample (#2250) (f707e26)
- controls: add meta key support in state controls (74f8b50)
- Coordinates: add toArray method. (ebadc9c)
- deps: Update proj4 from 2.9.0 to 2.9.2 (24eac28)
- deps: Update three from 0.154.0 to 0.159.0 (a2f9105)
- drop support of old browsers (e81e117)
- Feature2Mesh: Stylize points mesh. (b7538b0)
- LASParser: change lasparser package from loaders.gl to copc (aa9d97e)
- View: add getters for threejs renderer and camera (57ed8d3)
- view: add WebXR support. (1d10290)
Bug Fixes
- C3DTilesLayer: handle tileContent with several child containing C3DTFeature. (219e015)
- ColorLayer: Fix rendering issue on white to invisible effect (04cad6c), closes #2236
- examples: change watercolor tile url (1bfd639)
- examples: Fix stereo effects example (3919b72), closes /github.com/mrdoob/three.js/wiki/Migration-Guide#147--148
- package-lock.json: Restore resolved and integrity properties (6737c93), closes npm/cli#4263
- pointcloud: Add SSE calculation for orthographic projections (cae9463)
- points: Correct orthographic vertex projection (e6e1d80)
- StateControl: use uncaught key event (7fae54c)
- tests: prevent overwriting
navigator.userAgent
(f146262) - VectorTile: loading texture on VectorTile when node.pendingSubdivision !need improvement! (e464bdc)
Performance Improvements
- 3dtiles: Transform 3d tiles region bounding volumes to spheres (f0eaf96)
Code Refactoring
- bboxDigits: Apply code review (b118942)
- Feature2Mesh: add gestion feature with variable size (4d44cd3)
- FeatureContext: use Context on LabelLayer and Feature2Texture (4abab9b)
- FeatureCtx: move class FeatureContext to Style and rename (2428d56)
- Feature: remove geometry.properties.style -> use style fct at Feature level (b736f72)
- FeatureToolTip: update with new gestion of Style (356e695)
- points: Uniformize naming with three's points shader (d46cd44)
- Style: change setFromGeojsonProperties() to static (8cf99b6)
- style: change Style.drawingFromContext(ctx) to Style.getFromContext(ctx) for hierarchization of style properties (17bbe88)
- Style: change Style.setFromVectorTileLayer to static (5f22009)
- StyleContext: add setFeature to access feature.type (6b44ef9)
- Style: fuse drawStylefromContext() and symbolStylefromContext() into applyContext() (db3e455)
- Style: homogenize gestion fill.pattern between all existing (396edfb)
- Style: Style hierachisation in Layer.Style instanciation (55849f6)
- Style: supp collection.style and delete notion of style.parent (40f83b3)
- Style: supp getTextFromProperties() ad it's done with getContext() (565dd63)
Workflow and chores
- release v2.42.0 (ec812b4)
- babel: remove nullish coalescing operator transform (691a859)
- deps-dev: bump @babel/traverse from 7.22.5 to 7.23.2 (66171c7)
- deps-dev: bump follow-redirects from 1.15.2 to 1.15.4 (9761d58)
- deps-dev: Update conventional-changelog from 3.0.0 to 4.1.0 (5f084bf)
- deps-dev: Update eslint and its plugins (1e9371e)
- deps-dev: Update some developer dependencies (4d74d4a)
- deps-dev: Update webpack and its loaders (cdaf12f)
- deps: add copc.js dependency (f89df8c)
- deps: supp package loaders.gl/las (14884f3)
- deps: Update @loaders.gl/las from 3.4.4 to 4.0.4 (30ded56)
- deps: Update @tmcw/togeojson from 5.6.2 to 5.8.1 (e52fba6)
- deps: Update regenerator-runtime from 0.13.11 to 0.14.0 (878a256)
- dev-deps: Update puppeteer from 19.4.0 to 21.6.0 (a681103)
- dev-deps: Update semver due to moderate vulnerability (5a6c7e3)
- examples: ESMify collada example (b82622d)
- examples: ESMify multiple 2.5D maps (ac9cea4)
- Feature: rename base_altitudeDefault to camelCase (658992d)
- polyfills: remove polyfill for async/await (abc6bbb)
- polyfills: remove polyfill for TextDecoder (356811e)
- README: add browser support notice (f31fec9)
- test: fix bootstrap to follow ES semantics (4d4e28f)
- webpack: remove fetch polyfill on bundle (96b870a)
- webpack: remove URL polyfill on bundle (1928986)
- webpack: stop watching node modules in dev mode (47d0c7c)
Documentation
- ColorLayer: Update doc on effect_type and effect_parameter (d508831)
- README: remove typo (6329129)
- style: specify features supported with labels (de88737)
- View: document View properties (ef8d3f4)
BREAKING CHANGES
- iTowns now officially supports only the two last
versions + versions with >0.5% market share of popular browsers as
well as the lastest version of Firefox ESR. WebGL2.0 support is also
mandatory. - 3dtiles: Remove region, box and sphere properties of C3DTBoundingVolume.
They have been replaced by volume property which contains a THREE.Box3 (for
box) or a THREE.Sphere (for sphere or region). Initial bounding volume type
can be retrieved with the initialVolumeType property. - C3DTilesLayer: C3DTFeature constructor changed from (tileId, batchId, groups, info, userData) to (tileId, batchId, groups, info, userData, object3d)
2.41.0 (2023-10-16)
Features
- 3dtiles: add method to enable ktx2 loader for gltf (a260109)
- points: Add attenuated mode for points size rendering (6db3c5e)
- points: Add option to render points in shape square or circle (363f137)
- VectorTile: add coordProj in pushCoordinatesValues() to get access to position when using style.base_altitude. (451e5d6)
Bug Fixes
- example: fix example Gpx 3d and functional test (781a47d)
- fix Glob error when lauching npm install on windows ([e56bf65](iTowns@e56bf65...
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
- release v2.31.0 (c3f5e47)
- 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)
2.30.0 (2021-02-05)
Features
- 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
2.29.2 (2021-01-26)
Bug Fixes
- 3dTile: don't overload the b3dm material. (d7f14b6)
- PlanarControls: fix zoom movement with an orthographic camera (999851a)
Code Refactoring
- view: add vector target viewToNormalizedCoords. (b83a9c8)
Workflow and chores
- release v2.29.2 (62365ea)
2.29.1 (2021-01-22)
Bug Fixes
- PlanarControls: fix issues related to cameraOrtho feature (475c788)
Workflow and chores
- release v2.29.1 (3c71abc)
Documentation
- update some deprecated doc (d16c796)
- Camera: modify camera.adjustAltitudeToAvoidCollisionWithLayer doc (aabe814)
- GlobeControl: update class constructor doc (6fb3d28)
- GlobeControls: minor correction (7230b53)
- View: update doc of View.getMeterToPixel method (cc2385c)
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)