Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9817605 commit adecc81Copy full SHA for adecc81
examples/3dtiles_loader.html
@@ -161,7 +161,7 @@
161
const input_url = document.getElementById('url');
162
if (!input_url) return;
163
164
- uri.searchParams.set('copc', url);
+ uri.searchParams.set('3dtiles', url);
165
history.replaceState(null, null, `?${uri.searchParams.toString()}`);
166
167
input_url.value = url;
@@ -220,6 +220,15 @@
220
window.loadSete = loadSete;
221
window.loadLille = loadLille;
222
223
+
224
+ function loadPassedModel() {
225
+ const passedUrl = uri.searchParams.get('3dtiles');
226
+ if (passedUrl) {
227
+ setUrl(passedUrl);
228
+ }
229
230
+ loadPassedModel();
231
232
</script>
233
</body>
234
</html>
0 commit comments