v47 : masquer une précision absente du site (ex. « Très précis » sur OVH)
Si data/lidar/<précision>/index.json renvoie 404, le choix disparaît des réglages, d'Expert et de la fenêtre de téléchargement, et l'app revient à « Moyen ». Permet de publier sans la précision 1 m (83 Mo) sur un hébergement à place limitée. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
3662fd4993
commit
a00af81443
6 files changed
+28
-15
No files matched your search
@@ -4,11 +4,11 @@
|
||||
// Réglages › « Télécharger tout pour hors-ligne » (cache DATA, conservé entre les versions).
|
||||
// À chaque nouvelle version de l'app, changer VERSION (et les ?v= dans index.html).
|
||||
|
||||
const VERSION = 'v46';
|
||||
const VERSION = 'v47';
|
||||
const SHELL = `bdh-shell-${VERSION}`;
|
||||
const DATA = 'bdh-data-v1';
|
||||
const SHELL_FILES = [
|
||||
'./', 'index.html', `app.js?v=46`, `pylon.js?v=46`, `buildings.js?v=46`, `offline.js?v=46`, `lidar.js?v=46`, `terrain.js?v=46`, `style.css?v=46`,
|
||||
'./', 'index.html', `app.js?v=47`, `pylon.js?v=47`, `buildings.js?v=47`, `offline.js?v=47`, `lidar.js?v=47`, `terrain.js?v=47`, `style.css?v=47`,
|
||||
'lib/three.module.js', 'lib/three.core.js', 'lib/locar.es.js',
|
||||
'lib/lines/LineSegments2.js', 'lib/lines/LineSegmentsGeometry.js', 'lib/lines/LineMaterial.js',
|
||||
'data/trace.json', 'manifest.json', 'icon.svg', 'icon-192.png', 'icon-512.png',
|
||||
|
||||
Reference in new issue
Block a user