itowns 2.45.2-next.1 → 2.45.2-next.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -161,7 +161,7 @@
161
161
  const input_url = document.getElementById('url');
162
162
  if (!input_url) return;
163
163
 
164
- uri.searchParams.set('copc', url);
164
+ uri.searchParams.set('3dtiles', url);
165
165
  history.replaceState(null, null, `?${uri.searchParams.toString()}`);
166
166
 
167
167
  input_url.value = url;
@@ -220,6 +220,15 @@
220
220
  window.loadSete = loadSete;
221
221
  window.loadLille = loadLille;
222
222
 
223
+
224
+ function loadPassedModel() {
225
+ const passedUrl = uri.searchParams.get('3dtiles');
226
+ if (passedUrl) {
227
+ setUrl(passedUrl);
228
+ }
229
+ }
230
+ loadPassedModel();
231
+
223
232
  </script>
224
233
  </body>
225
234
  </html>
package/lib/Main.js CHANGED
@@ -1,5 +1,5 @@
1
1
  const conf = {
2
- version: '2.45.2-next.1'
2
+ version: '2.45.2-next.2'
3
3
  };
4
4
  export const REVISION = conf.version;
5
5
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "itowns",
3
- "version": "2.45.2-next.1",
3
+ "version": "2.45.2-next.2",
4
4
  "description": "A JS/WebGL framework for 3D geospatial data visualization",
5
5
  "type": "module",
6
6
  "main": "lib/Main.js",
@@ -51,7 +51,7 @@
51
51
  "url": "https://github.com/iTowns/itowns/issues"
52
52
  },
53
53
  "dependencies": {
54
- "@itowns/geographic": "^2.45.2-next.1",
54
+ "@itowns/geographic": "^2.45.2-next.2",
55
55
  "@mapbox/vector-tile": "^2.0.3",
56
56
  "@maplibre/maplibre-gl-style-spec": "^23.1.0",
57
57
  "@tmcw/togeojson": "^7.0.0",