Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update from upstream repo itowns/itowns@master #1

Open
wants to merge 3,273 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
3273 commits
Select commit Hold shift + click to select a range
1cb36a7
test(wfs): fix wfs to 25d example test
jailln Feb 14, 2024
7d05a0f
fix(examples): fix some issues with entwine planar example
Desplandis Feb 14, 2024
5d84b37
chore(deps-dev): bump ip from 1.1.8 to 1.1.9
dependabot[bot] Feb 21, 2024
33d0e8d
fix(RasterTile): Fix RasterTile removeEvent when view.dispose is called
Feb 23, 2024
49e48b5
fix(Feature2Mesh): fix proj on base alti
ftoromanoff Nov 3, 2023
89d6fbd
refactor(example): entwine_simple_loader add use of param in url
ftoromanoff Feb 5, 2024
a557914
refactor(PointCloudLayer): add new scheme and gradients to generate t…
ftoromanoff Feb 28, 2024
99be96e
refactor(test): add CanvasGradient in bootstrap.js
ftoromanoff Feb 1, 2024
4f361c3
fix(elevation): Fix elevation layer removal from view
jailln Feb 27, 2024
17124ec
fix(examples): fix new IGN VT style url
ftoromanoff Mar 6, 2024
7680ccf
doc(tutorials): minor typo and syntax fixes
HoloTheDrunk Mar 6, 2024
c6ba5fb
doc(tutorials): replace deprecated callback
HoloTheDrunk Mar 6, 2024
e5810d7
fix(PotreeDebug): fix oversight
ftoromanoff Mar 7, 2024
06c7181
feat(TiledGeometryLayer): layer can now hide skirt
AnthonyGlt Feb 22, 2024
bf38a72
fix(PointCloud): fix precision error for entwinePointTileLayer
ftoromanoff Mar 1, 2024
f6baf69
fix(example): migrate sources to IGN geoplateforme
ftoromanoff Mar 11, 2024
5d324ca
fix(tutorials): migrate urls to IGN geoplateforme
Desplandis Mar 13, 2024
f6b6bf4
refactor(test): unit test clean up
ftoromanoff Sep 6, 2023
dd3f80d
refactor(babelrc): add geojson and remove gltf from import extension
ftoromanoff Mar 5, 2024
4d21c1e
chore: npm install sinon --save-dev
ftoromanoff Jan 5, 2024
9dcfed3
refactor(unitTests): use sinon to mock hidden itowns.Fetcher and add …
ftoromanoff Jan 5, 2024
1c8256c
chore: npm install @xmldom/xmldom --save-dev
ftoromanoff Feb 9, 2024
2fb3298
refactor(test): add tests for Fetcher.js
ftoromanoff Jan 4, 2024
3163f5f
chore(deps-dev): bump follow-redirects from 1.15.4 to 1.15.6
dependabot[bot] Mar 15, 2024
e6eb4cf
feat(gltf): add a GLTFParser to parse gltf 1.0 and 2.0 files
jogarnier Jun 26, 2023
c51e64a
feature(VectorTileSource): add support for multiple source
Sep 20, 2023
3b0709b
refactor(test): use sinon for multisource
ftoromanoff Feb 7, 2024
1240db6
refactor(Fetcher): supp extent in parsed file
ftoromanoff Mar 15, 2024
9fa4cde
refactor(source): supp supportedFetchers and add Fetcher.get(format)
ftoromanoff Mar 19, 2024
f55ee06
chore(coverage): replace nyc by c8
Desplandis Mar 21, 2024
c6bae49
chore(scripts): mark cjs scripts explicitely
Desplandis Mar 21, 2024
ab36885
feat: ESM distribution
Desplandis Mar 15, 2024
d53c1a5
chore(deps-dev): bump webpack-dev-middleware from 5.3.3 to 5.3.4
dependabot[bot] Mar 23, 2024
9be39b7
chore(deps-dev): bump express from 4.18.2 to 4.19.2
dependabot[bot] Mar 26, 2024
d4779cc
chore(deps): bump copc and remove unecessary ignore of fs
Desplandis Mar 28, 2024
c7ff763
chore: replace the CDN from unpkg to jsdelivr
Desplandis Apr 2, 2024
5bd5c32
feat: Remove WebGL1 support
Desplandis Mar 29, 2024
cef15ea
release v2.43.0
mgermerie Apr 2, 2024
65c4008
fix(PointCloud): correct some issues after refacto
AnthonyGlt Apr 3, 2024
4d029ef
fix(LASLoader): fix default CDN URL
Desplandis Apr 30, 2024
a4d20f9
release v2.43.1
mgermerie Apr 30, 2024
eec3197
feat(LasParser): add parsing of chunks of LAS files
Desplandis Feb 12, 2024
f1e014f
feat: Add support for Cloud Optimized Point Clouds (COPC)
Desplandis Jun 20, 2023
6b4a5f2
feat(examples): add COPC url loader
Desplandis Jun 20, 2023
48fb9df
docs(COPC): expose doc for COPCLayer and COPCSource
Desplandis Jun 20, 2023
d3a317b
doc: Add link to governance repo in the README
jailln Apr 4, 2024
bc41708
fix(test-functional): fixes on hooks_functional.js
ftoromanoff Aug 30, 2023
488d6a1
refactor(test-functional): reworks on hooks-functional.js: better ges…
ftoromanoff Aug 30, 2023
14891fd
fix(example): change klokantech url in 3dtile_ion.html
ftoromanoff May 3, 2024
3780c56
fix(test): fix change on id for test functional
ftoromanoff May 15, 2024
5668334
fix(test): fetcher.js augment timeout limit
ftoromanoff May 21, 2024
47f859d
fix(entwine): change transparency settings
ftoromanoff May 13, 2024
d1eb374
refactor(PotreeDebug): rename PotreeDebug to PointCloudDebug
ftoromanoff May 14, 2024
ff0ff3d
refactor(3dTilesDebug): add properties hasPnts for pnts fields in GUI
ftoromanoff May 15, 2024
5bf62f2
refactor(3dTiles): supp unused parameter in debug set up
ftoromanoff May 15, 2024
af4d061
fix(3dTilesLayer): fix transparency for 3dTilesLayer
ftoromanoff May 15, 2024
921bc03
fix(COG): Fix COG levels parsing
Feb 19, 2024
038dedd
fix(COG): Fix AggregateError (retry if error occur)
Feb 22, 2024
e03caf5
fix(COG): Fix texture width & height (use source.tileWidth & source.t…
Feb 22, 2024
809a4ad
fix(COG): Fix selectLevel (incorrect level selection when source exte…
Feb 22, 2024
24ab82f
feat(COG): Allow tileWidth, tileHeight & resampleMethod parameter
Feb 22, 2024
1de7124
example(COG): Set maxSubdivisionLevel to 10 (default is 5)
Feb 22, 2024
aaa9691
fix(COG): Fix COG example
Mar 15, 2024
77fd215
fix(deps): update babel and add @babel/core dependency
Desplandis May 31, 2024
170f220
fix(points): support point classification up to 256 classes
Desplandis Jun 4, 2024
f286b40
fix(MVT): add texture and subdivision size parameter
AnthonyGlt Mar 15, 2024
936bc22
chore(deps-dev): bump braces from 3.0.2 to 3.0.3
dependabot[bot] Jun 16, 2024
02d141f
chore(deps): bump ws and puppeteer
dependabot[bot] Jun 18, 2024
048eaec
chore(babel): modernize config and clean webpack
Desplandis Jun 17, 2024
4c98e9e
chore(eslint): use babel resolver instead of webpack
Desplandis Jun 17, 2024
58fc8bb
fix(pointcloud): fix non-world projected elevation
Desplandis Jun 24, 2024
c3a67a3
fix(scheduler): ignore invalid URLs
Desplandis May 6, 2024
cec42ad
chore(test): add web worker polyfill
Desplandis May 6, 2024
1bca2e3
refacto: move loaders with little to no dependency to own directory
Desplandis May 6, 2024
1976481
chore: add threads dependency for web workers
Desplandis May 6, 2024
ee56ec7
feat(potree2): Add potree 2.0 loader
Jul 5, 2023
624880d
fix(test): import HttpsProxyAgent
gchoqueux Jun 28, 2024
8654ccb
fix(PointCloud): use preSSE for C3DTilesLayer
AnthonyGlt May 3, 2024
19c0e65
fix(PointCloud): fix after pr feedback
AnthonyGlt Jul 2, 2024
d5ee112
fix(potree2): Fix sample data url
Jul 4, 2024
9abdeed
fix(potree2): Fix options request issue with raw.githubusercontent.co…
Jul 4, 2024
0505297
feat: introducing workers for LAS parser
Desplandis May 6, 2024
6e20fcb
fix(C3DTFeature): use correct interleaved buffer getter (#2326)
AnthonyGlt Jul 8, 2024
24b3641
refacto(points): remove compressed normal support in material
Desplandis Jul 1, 2024
c93a2cd
refacto(points): remove support of oriented images
Desplandis Jul 1, 2024
63af9e2
refacto(points): material as superset of three PointsMaterial
Desplandis Jun 25, 2024
eeef84d
fix(points): use param classificationScheme in 3DTiles
Desplandis Jul 10, 2024
85e49a1
fix(VectorTile): fix Style.setFromVectorTileLayer() when icon.id with…
ftoromanoff May 31, 2024
565472b
refactor(test): setFromVectorTileLayer() with icon
ftoromanoff May 31, 2024
982b908
refactor(style): clean up style and test/style.js
ftoromanoff Jun 12, 2024
2b81710
fix(PointCloud): Allow using custom object3d on PointCloudLayer
Jul 12, 2024
0fa08cd
fix(TiledGeometryLayer): handle hideSkirt at creation
AnthonyGlt Jul 10, 2024
3738a06
fix(TiledGeometryLayer): add hideSkirt unit test
AnthonyGlt Jul 10, 2024
e6bc462
workflow(issues): update issue templates
AnthonyGlt Nov 10, 2023
0c4d101
chore(deps): remove unused marked devDependencies
Desplandis Jul 24, 2024
ff70c47
chore(deps): bump developer dependencies
Desplandis Jun 21, 2024
7962fdc
feat(deps): bump proj4 from 2.9.2 to 2.11.0
Desplandis Jun 21, 2024
7c904ff
chore(deps): bump shpjs from 4.0.4 to 6.0.1
Desplandis Jun 21, 2024
52c0b6c
chore(deps): bump @tweenjs/tween.js from 18.6.4 to 23.1.2
Desplandis Jun 21, 2024
258adc6
feat(deps): bump three from 0.159.0 to 0.165.0
Desplandis Jun 21, 2024
de9d16c
chore(deps): bump @mapbox/vector-tile from 1.3.1 to 2.0.3
Desplandis Jul 24, 2024
620e91c
chore(deps): bump earcut from 2.2.4 to 3.0.0
Desplandis Jul 24, 2024
544b4a7
chore(deps): bump pbf from 3.2.1 to 4.0.1
Desplandis Jul 24, 2024
755ae17
fix(parser): wrong shpjs 6.0.1 using
gchoqueux Jul 25, 2024
bf87dd6
refactor(PointCloudDebug): fix SizeMode gui
ftoromanoff Jul 2, 2024
16cbbbf
fix(shader): Remove early discard based on vcolor
airnez Jul 15, 2024
ad67a6b
chore(CONTRIBUTORS.md): add name
airnez Jul 15, 2024
d091207
fix(PointsMaterial.js): Allow transparency when any class is invisible
airnez Jul 25, 2024
50e785c
chore: use node hooks to fix coverage issues
Desplandis Aug 30, 2024
43a3c14
chore(devDeps): remove unused babel-register-esm
Desplandis Aug 30, 2024
a2fedd8
feat(3dtiles): add new OGC3DTilesLayer using 3d-tiles-renderer-js
jailln Jun 7, 2024
9b59bd3
chore(deps-dev): bump webpack from 5.93.0 to 5.94.0
dependabot[bot] Aug 30, 2024
696a5d7
release v2.44.0
mgermerie Sep 2, 2024
e345979
fix(tutorials): use OGC3DTilesLayer in 3d tiles tutorials
mgermerie Sep 6, 2024
fde5fb9
release v2.44.1
mgermerie Sep 6, 2024
95d2194
fix(exampleCOPC): fix elevation behavior
ftoromanoff Aug 20, 2024
2019826
fix(PointCloud): Fix clipping point cloud
Aug 23, 2024
afcb250
fix(3dtiles): support point cloud attenuated mode in OGC3DTiles layer
jailln Sep 3, 2024
8e872be
chore(deps): bump actions/download-artifact in /.github/workflows
dependabot[bot] Sep 3, 2024
a01de04
chore(deps): bump body-parser and express
dependabot[bot] Sep 12, 2024
ff9a86a
fix(pointcloud): Fix point cloud distance to camera whatever point cl…
Aug 22, 2024
29dfc60
chore: fix dependency vulnerabilities
mgermerie Sep 12, 2024
9479973
doc: remove empty class used for documentation
Desplandis Sep 13, 2024
cbb1b96
doc: rewrite some docs to follow jsdoc semantics
Desplandis Sep 6, 2024
c1409c5
release v2.44.2
mgermerie Sep 17, 2024
e386637
fix(TiledGeometryLayer): remove subdivision checking code (#2344)
AnthonyGlt Sep 19, 2024
868889f
feat(controls): add state controls at view init
AnthonyGlt Sep 17, 2024
4d034b5
chore(deps): bump developer dependencies
jailln Sep 19, 2024
63e2194
chore(deps): bump @tweenjs/tween.js from 23.1.2 to 25.0.0
jailln Sep 19, 2024
4937064
chore(deps): bump shpjs from 6.0.1 to 6.1.0
jailln Sep 19, 2024
f7303de
chore(deps): bump three from 0.165.0 to 0.168.0
jailln Sep 19, 2024
804c65f
chore(deps): bump proj4 from 2.11.0 to 2.12.1
jailln Sep 19, 2024
1d9ffe9
chore(deps): remove node-fetch from dev dependencies
jailln Sep 19, 2024
837c044
chore(deps): bump 3d-tiles-renderer from 0.3.37 to 0.3.38
Oct 2, 2024
ec665c3
fix(TiledGeometryLayer): replace get data by the new getPropertyArray
Oct 2, 2024
ebf37dd
fix(TiledGeometryLayer): set autoRefreshToken to true
Oct 2, 2024
8830d6d
chore: update babel and webpack configs to support TypeScript
mgermerie Sep 24, 2024
0d6b611
chore(eslint): update config to support TypeScript
mgermerie Sep 24, 2024
8ba1376
refacto: URLBuilder as pure functions
Desplandis Sep 2, 2024
4b57498
refacto: split Extent between geographic/tiled
Desplandis Sep 2, 2024
c862ca7
doc(test): update command to run one functional test
jailln Sep 30, 2024
cb96727
fix(Terrain): fix terrain subdivision when a terrain tile only has va…
jailln Oct 2, 2024
a4f0d22
fix(C3DTilesLayer): updateStyle works with new style API
valentinMachado Oct 7, 2024
3eb7a23
example(3DTiles): create an only 3D tiles example that can load any 3…
jailln Sep 25, 2024
cbfd1bb
feat(3dtiles): add deprecation warning to C3DTilesLayer. Use OGC3DTil…
jailln Sep 26, 2024
25467e5
fix(3dtiles): add layer to object returned by OGC3DTilesLayer.pickObj…
jailln Oct 9, 2024
3d89169
feat(3dtiles): add tiles-load-start and tiles-load-end events
jailln Oct 11, 2024
85ce178
feat(globeControls): zoom on mouse position while using wheel
Mar 10, 2023
89bbbd8
feat(controls): disabled multi actions when zooming
AnthonyGlt Oct 4, 2024
cfb9d0f
feat: add publiccode (#2417)
alavenant Oct 11, 2024
b65d8ae
doc(contributors): add Tim Ebben
tebben Oct 10, 2024
4f53025
fix(source): support urls already containing query parameters for wms…
tebben Oct 10, 2024
426fe29
fix(Zoom): use zoom state
AnthonyGlt Oct 15, 2024
f8021b4
chore(eslint): add no-use-before-define and change max-len rules
Desplandis Oct 11, 2024
b991878
fix(OGC3DTilesLayer): handle multiple views (#2435)
AnthonyGlt Oct 18, 2024
565ba36
feat(3dtiles): update 3d-tiles-renderer to 0.3.39
jailln Oct 23, 2024
0a098af
fix(GlobeView): remove default directional light
jailln Oct 22, 2024
4e7bcd2
feat(eslint): remove preference for default export (#2447)
HoloTheDrunk Oct 25, 2024
f602ac7
chore(deps): bump cookie and express
dependabot[bot] Oct 25, 2024
8df42d2
feat(ci): bump node to next LTS (v22) (#2452)
HoloTheDrunk Nov 14, 2024
0499f95
fix(wms): take wms 1.1.1 version into account for axis order
airnez Nov 8, 2024
745ab2c
fix(xbilparser): apply zmin / zmax for any texture subsampling size
airnez Nov 7, 2024
452ca7e
fix(COG): Fix extent in COG parser
Oct 29, 2024
822c63b
fix(publiccode.yml): fix the logo URL
bzg Nov 13, 2024
eb73b45
fix(babel): include ts files in prerequisites
Desplandis Oct 17, 2024
d884ba6
refacto: migrate Crs to typescript
Desplandis Oct 3, 2024
ea397ee
refacto(Crs): cleanup unit handling
Desplandis Oct 17, 2024
fca5a29
refacto(Crs): use named exports instead of default export
Desplandis Nov 15, 2024
d467a29
chore(Crs): update and refine documentation
Desplandis Nov 16, 2024
205c27f
fix(Crs): correctly renamed reasonableEpsilon function
Desplandis Nov 16, 2024
2fdf15a
refacto(Crs): rename toUnit to getUnit
Desplandis Nov 16, 2024
83eb0d9
refacto(Crs): remove tms/epsg family of functions
Desplandis Nov 20, 2024
cf41e8d
refactor(Layer): remove Object.assign of config
Desplandis Jul 21, 2024
683e55d
fix(i3dm): use instanceId to get info
AnthonyGlt Nov 25, 2024
dc347d1
fix(fetcher): improve image loading error log
jailln Dec 3, 2024
3207dcd
refactor(TileBuilder): migrate to TypeScript (#2440)
HoloTheDrunk Dec 10, 2024
fc2d3ab
fix(doc): fix doc generation error
jailln Dec 10, 2024
09a016f
chore(deps): bump nanoid from 3.3.7 to 3.3.8
dependabot[bot] Dec 17, 2024
1e171ff
feat(index.html): auto-redirect to examples (#2478)
HoloTheDrunk Dec 17, 2024
c975752
chore: remove istanbul and editor comments (#2479)
HoloTheDrunk Dec 17, 2024
aec3ebf
fix(wms): assign axis order param from source
airnez Nov 18, 2024
7d67ec4
feat(wms): use proj4 crs axis param
airnez Dec 5, 2024
b81e8e9
feat(MVT): change mapBox package to mapLib
ftoromanoff Nov 20, 2024
07c3f63
fix(crs): fix proj4 unit 'meter' and add 'foot'
ftoromanoff Apr 30, 2024
b2bcb7f
refactor(PointCloudLayer): promise.catch/finally instead of then(Call…
ftoromanoff Oct 1, 2024
628ed94
refactor(PointCloudLayer): delete onPointsCreated callback
ftoromanoff Sep 24, 2024
1ecc6aa
refactor(entwineSource): read crs from metadata.srs
ftoromanoff Oct 2, 2024
69ed2f4
refactor(CopcSource): use metadata.wkt to set source.crs
ftoromanoff Oct 7, 2024
50a17a6
test(lasparser): add test for parseChunk
ftoromanoff Oct 3, 2024
327b914
refactor(test): change timeout
ftoromanoff Oct 2, 2024
8dc71f9
examples(PointCloud): fix errors
ftoromanoff Dec 18, 2024
3a9784c
feat: add `enableMeshoptDecoder` function for GLTFs
Desplandis Dec 19, 2024
a3fb6c5
refacto: migrate Ellipsoid to typescript
Desplandis Oct 11, 2024
efe9c58
feat: deprecate Coordinates constructor with array and vector3
Desplandis Oct 11, 2024
ec79573
refacto: migrate Coordinates to typescript
Desplandis Oct 11, 2024
6cb7416
doc(Coordinates): update and refine documentation
Desplandis Oct 11, 2024
f922530
doc(Ellipsoid): update and refine documentation
Desplandis Nov 21, 2024
fe189be
chore(Ellipsoid): add method return types
Desplandis Dec 18, 2024
9b9d52a
fix(test): fix local unit tests behind proxy
mgermerie Jan 8, 2025
09f7adb
feat(VectorTile): add support for relative url in style
ftoromanoff Oct 29, 2024
9250fd8
fix(VectorTile): fix {z}/{y}/{x}
ftoromanoff Oct 29, 2024
fffecc9
fix(MVTStyle): icon properties -> fix return of function when id incl…
ftoromanoff Nov 25, 2024
fe68e41
fix(Style): cropValueDefault
ftoromanoff Dec 20, 2024
a80b95f
test(VectorTileSource): fix test
ftoromanoff Oct 29, 2024
fdf4b0a
refactor(VectorTileParser): cleanup
ftoromanoff Nov 4, 2024
497ac8c
fix(MVTLayers): add MVTLayer where MVTStyle.layer has 'ref' properties
ftoromanoff Nov 22, 2024
5ec037b
fix(Style): take style.zoom into account for LabelLayer and Feature2T…
ftoromanoff Nov 6, 2024
d947233
fix(examples): fix linked with zoom properties well used
ftoromanoff Nov 21, 2024
6b0e287
fix(MVTParser): supp use of layer.style.zoom in parser
ftoromanoff Nov 25, 2024
21b0900
fix(Style): Don't draw Polygon when fill.color is undefined
ftoromanoff Nov 22, 2024
b8a13d9
fix(Style): Don't draw stroke when width is 0
ftoromanoff Nov 26, 2024
cb3c3b7
fix(LabelLayer): gestion simplified of line and polygon Label
ftoromanoff Nov 25, 2024
11d10ea
fix(MVTStyle): Doing recoloring only with sdf icons.
ftoromanoff Nov 21, 2024
a2cfd3a
fix(Label): Multiple labels with same textContent
ftoromanoff Nov 26, 2024
25db866
refactor(MVTParser): 1 feature per vtfeature
ftoromanoff Nov 26, 2024
3dc135e
fix(VectorTile): supp order in Style as it's only a Label properties …
ftoromanoff Nov 14, 2024
d1abe5a
example(MVT): add example with official MapBox style file
ftoromanoff Nov 26, 2024
858b89e
fix(Style): dont draw icon when size is 0
ftoromanoff Nov 27, 2024
c4629d6
fix(tests): re set --no-sandbox
ftoromanoff Jan 16, 2025
f01365d
chore(deps-dev): bump undici from 7.2.0 to 7.2.3
dependabot[bot] Jan 21, 2025
f3d2e90
fix(TileBuilder): use cached buffers correctly (#2491)
HoloTheDrunk Jan 24, 2025
0acb0a4
fix(3DTiles): correctly handle all layer config (e.g. layer name)
jailln Jan 17, 2025
5d0c8d8
chore(Extent): remove deprecated methods
Desplandis Oct 18, 2024
856bb88
feat(Extent): add setFromArray and setFromExtent methods
Desplandis Oct 18, 2024
1d72b64
chore(Extent): deprecate array and extent constructor parameters
Desplandis Oct 18, 2024
1c41e93
refacto: migrate Extent to typescript
Desplandis Oct 18, 2024
965c2ea
doc(Extent): update and refine documentation
Desplandis Oct 18, 2024
ac93bfd
refacto: migrate Tile to typescript
Desplandis Nov 21, 2024
bb69004
doc(Tile): update and refine documentation
Desplandis Dec 19, 2024
fdd2bd9
refactor(StyleOptions): move StyleOptions from Style to its own file
ftoromanoff Jan 15, 2025
6d12fde
refactor(cache): use LRUCache instead of own cache
ftoromanoff Oct 24, 2024
387d64f
fix(PointCloudLayer): use the User value for ElevationRange (if present)
ftoromanoff Jan 30, 2025
b95035b
chore: update vulnerable dev dependencies
Desplandis Feb 6, 2025
ffe89c7
chore(deps): bump three from 0.168.0 to 0.170.0
Desplandis Feb 6, 2025
e75fbb8
chore(deps): bump 3d-tiles-renderer from 0.3.39 to 0.4.4
Desplandis Feb 6, 2025
8b22591
fix(examples): add envmap for PBR materials in 3d tiles loader example
Desplandis Feb 7, 2025
031f93e
feat(3d-tiles): support picking of metadata
Desplandis Jan 15, 2025
a923f1f
chore(3dtiles): add more unit tests
Desplandis Feb 7, 2025
3103718
chore(architecture): monorepo structure
gchoqueux Feb 7, 2025
bfdebca
fix(test): increase time out
gchoqueux Jul 2, 2024
4ee3c7f
fix(test): tempory disable clamp ground test because data server is down
gchoqueux Feb 14, 2025
8799e81
fix(fetcher): add sanity check for texture data
Desplandis Feb 14, 2025
05c3a0e
fix(RasterTile): partial loading for raster tiles
airnez Feb 4, 2025
b395a75
fix(RasterTile): fix deepScan issues
airnez Feb 4, 2025
cf55d96
chore: migrate CoordStars to typescript
Desplandis Feb 17, 2025
8c0e8c3
feat(geography): enable type definitions distribution
Desplandis Feb 14, 2025
2be8afe
chore(OrientationUtils): use function exports instead of default export
Desplandis Feb 18, 2025
14d4812
chore: migrate OrientationUtils to typescript
Desplandis Feb 18, 2025
4ac60cd
doc(OrientationUtils): update and refine documentation
Desplandis Feb 19, 2025
6bda4f5
release v2.45.0
gchoqueux Feb 14, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
14 changes: 14 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# http://editorconfig.org

root = true

[*]
charset = utf-8
indent_style = space
indent_size = 4
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true

[*.md]
trim_trailing_whitespace = false
13 changes: 13 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
examples/libs/
examples/layers/
packages/Main/src/ThreeExtended/
test/hooks.js
dist/
node_modules/
docs/out/
docs/static/
docs/tutorials/
docs/tmpl/
test/data/


163 changes: 163 additions & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,163 @@
const path = require('path');

module.exports = {

// Global ESLint settings
root: true,
extends: [
'eslint-config-airbnb-base',
'eslint-config-airbnb-base/rules/strict',
],
parserOptions: {
ecmaVersion: 13,
sourceType: 'module',
ecmaFeatures: {
impliedStrict: true,
},
},
settings: {
'import/resolver': {
'babel-module': {
alias: {
'@itowns/geographic': path.resolve(__dirname, 'packages/Geographic/src/Main.ts'),
itowns: path.resolve(__dirname, 'packages/Main/src/Main.js'),
},
plugins: [
['module-extension-resolver'],
],
},
},
},
env: {
browser: true,
es2020: true,
amd: true,
commonjs: true,
},
rules: {
'no-trailing-spaces': 'warn',
'padded-blocks': 'warn',
'no-unused-vars': 'warn',
'no-plusplus': 'off',
// this option sets a specific tab width for your code
// http://eslint.org/docs/rules/indent
indent: ['warn', 4, {
SwitchCase: 1,
VariableDeclarator: 1,
outerIIFEBody: 1,
// MemberExpression: null,
// CallExpression: {
// parameters: null,
// },
FunctionDeclaration: {
parameters: 1,
body: 1,
},
FunctionExpression: {
parameters: 1,
body: 1,
},
}],
'one-var': ['error', 'never'],
'valid-jsdoc': ['error', {
requireReturn: false,
requireParamDescription: false,
requireReturnDescription: false,
}],
// TODO reactivate this rule once a proper npm package is made
// a good configuration might be:
/* 'import/no-extraneous-dependencies': ['error', {
devDependencies: ['test/**', 'tests/**', 'examples/**'],
}], */
'import/no-extraneous-dependencies': 'off',
'import/prefer-default-export': 'off',

// TODO reactivate all the following rules

// maybe 'no-mixed-operators': ['error', { allowSamePrecedence: true }],
'no-mixed-operators': 'off',
'no-use-before-define': ['error', { functions: false }],
// should probably be
// 'no-underscore-dangle': ['error', { allowAfterThis: true, allowAfterSuper: true }],
'no-underscore-dangle': 'off',
eqeqeq: 'off',
// what len ? Airbnb does 100. github wraps line above 80
'max-len': 'off',
'no-param-reassign': 'off',
'no-else-return': 'off',
'no-var': 'error',
'vars-on-top': 'off',
'no-shadow': 'off',
'no-restricted-properties': 'off',
'prefer-spread': 'off',
'prefer-destructuring': 'off',
'function-paren-newline': 'off',
'operator-linebreak': 'off',
'object-curly-newline': 'off',
curly: ['error', 'all'],
'no-multiple-empty-lines': 'off',
'no-restricted-globals': 'off',
'implicit-arrow-linebreak': 'off',
'prefer-promise-reject-errors': 'off',
'no-multi-spaces': 'off',
'import/no-cycle': 'off',
'import/no-useless-path-segments': 'off',
'import/extensions': [
'error',
'ignorePackages',
{
js: 'never',
ts: 'never',
tsx: 'never',
},
],
camelcase: 'off',
'switch-colon-spacing': 'off',
'lines-between-class-members': 'off',
'no-bitwise': 'off',
'no-restricted-syntax': 'off',
'consistent-return': 'off',
'brace-style': ['error', '1tbs', { allowSingleLine: true }],
'new-cap': 'off',
'no-continue': 'off',
'no-console': ['warn', { allow: ['warn', 'error'] }],
'class-methods-use-this': 'off',
'arrow-parens': ['error', 'as-needed', { requireForBlockBody: true }],
'max-classes-per-file': ['error', 4],
'function-call-argument-newline': 'off',
// change default-param-last to on, but there are several breaking changes or default params to add.
'default-param-last': 'off',
},
globals: {
__DEBUG__: false,
},

// ESLint settings for .ts files
overrides: [
{
files: ['**/*.ts'],
parser: '@typescript-eslint/parser',
plugins: [
'@stylistic',
'@typescript-eslint',
'eslint-plugin-tsdoc',
],
extends: [
'plugin:@typescript-eslint/eslint-recommended',
'plugin:@typescript-eslint/recommended',
],
rules: {
'@stylistic/max-len': ['warn', {
code: 100,
comments: 80,
ignoreUrls: true,
}],
// see https://typescript-eslint.io/rules/no-use-before-define/
'no-use-before-define': 'off',
'@typescript-eslint/no-use-before-define': 'error',
'valid-jsdoc': 'off',
'tsdoc/syntax': 'warn',
},
},
],
};
8 changes: 8 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
* text=auto
*.js eol=lf
*.css eol=lf
*.glsl eol=lf
*.html eol=lf
*.md eol=lf
*.json eol=lf
*.yml eol=lf
40 changes: 40 additions & 0 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
<!--- Provide a general summary of the issue in the Title above -->

## Your Environment
<!--- Include as many relevant details about the environment you experienced the bug in -->
* Version used:
* Browser Name and version:
* Operating System and version (desktop or mobile):
* Link to your project:

## Context
<!--- For bugs, Provide a more detailed introduction to the issue itself, and why you consider it to be a bug -->
<!--- How has this bug affected you? -->
<!--- If you have errors or a stacktrace in the console, here is a good place to put it. -->
<!--- Please consider using a pastebin service or create a gist.-->
<!--- Some screenshots are always greatly appreciated here! -->

<!--- For improvement suggestions, please tell us what you are trying to accomplish -->
<!--- Providing context helps us come up with a solution that is most useful in the real world -->

## Steps to Reproduce (for bugs)
<!--- Provide a link to a live example, or an unambiguous set of steps to -->
<!--- reproduce this bug. Include code to reproduce, if relevant -->
1.
2.
3.
4.

## Expected Behavior
<!--- If you're describing a bug, tell us what you think should happen -->
<!--- If you're suggesting a change/improvement, tell us how it should work -->

## Actual Behavior
<!--- If describing a bug, tell us what happens instead of the expected behavior -->
<!--- If suggesting a change/improvement, explain the difference from current behavior -->

## Possible Cause/Fix/Solution
<!--- Not obligatory, but suggest a cause or reason for the bug if relevant, -->
<!--- or ideas how to implement the addition or change -->
<!--- In any case, please consider opening a PR and become an iTowns developer! -->

44 changes: 44 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: 'bug :bug:'
assignees: ''

---

<!--- Provide a general summary of the issue in the Title above -->

## Your Environment
<!--- Include as many relevant details about the environment you experienced the bug in -->
* Version used:
* Browser Name and version:
* Operating System and version (desktop or mobile):
* Link to your project:

## Context
<!--- Provide a more detailed introduction to the issue itself, and why you consider it to be a bug -->
<!--- How has this bug affected you? -->
<!--- If you have errors or a stacktrace in the console, here is a good place to put it. -->
<!--- Please consider using a pastebin service or create a gist.-->
<!--- Some screenshots are always greatly appreciated here! -->


## Steps to Reproduce
<!--- Provide a link to a live example, or an unambiguous set of steps to -->
<!--- reproduce this bug. Include code to reproduce, if relevant -->
1.
2.
3.
4.

## Expected Behavior
<!--- Tell us what you think should happen -->

## Actual Behavior
<!--- Tell us what happens instead of the expected behavior -->

## Possible Cause/Fix/Solution
<!--- Not obligatory, but suggest a cause or reason for the bug if relevant, -->
<!--- or ideas how to implement the addition or change -->
<!--- In any case, please consider opening a PR and become an iTowns developer! -->
50 changes: 50 additions & 0 deletions .github/ISSUE_TEMPLATE/proposal-request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
---
name: Proposal request
about: Suggest an idea for this project
title: ''
labels: 'proposal :+1:'
assignees: ''

---


<!--- /!\ IMPORTANT /!\ ONE proposal for ONE and ONLY ONE feature -->



<!--- Provide a general summary of the proposal in the Title above -->

This issue is a **feature proposal**. Feel free to upvote (with :+1: ), comment and provide your use-cases if you're interested by this feature.

## Context
<!--- A description of the feature and why this feature could be interesting to implement in iTowns! -->
<!--- Current state of iTowns vs. state after implementation -->


## Description of the proposal
<!--- What would this feature looks like in iTowns ? -->
<!--- Please tell us what you are trying to accomplish -->
<!--- Providing context helps us come up with a solution that is most useful in the real world -->
<!--- Could be screenshot of the feature implemented somewhere else or results/stats/poc showing the potential result -->

### Identified use-cases
<!--- Define in which context this feature could be useful for the user -->

## Implementation

### Functional Implementation
<!--- Things that should be done in iTowns to implement this feature -->

### Technical Implementation _(optional)_
<!--- Describe the proposed implementation (PR, pseudo-code and/or diagrams) -->

## Potential Problems
<!--- Things that could be problematic with this feature or its implementation -->

## Potential Solutions
<!--- Things that could be done to avoid the mentioned problems -->

## Documentation
<!--- Links or explanation behind the logic of implementation -->
<!--- Could be used to implement this feature -->
<!--- Git Branches / Issues -->
13 changes: 13 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
## Before contributing

Read [CONTRIBUTING.md](https://github.com/iTowns/itowns/blob/master/CONTRIBUTING.md) and [CODING.md](https://github.com/iTowns/itowns/blob/master/CONTRIBUTING.md) to apply `iTowns` conventions on PRs, Git history and code.

## Description
<!--- Describe your changes in detail -->

## Motivation and Context
<!--- Why is this change required? What problem does it solve? -->
<!--- If it fixes an open issue, please link to the issue here. -->
<!--- Please also state your testing environment (browser, version and anything relevant) here -->

## Screenshots (if appropriate)
Loading