Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Joe T.S.
3dgeovisclient
Commits
5d19b8cb
Commit
5d19b8cb
authored
Oct 28, 2020
by
Joe T.S.
🏓
Browse files
Update load_cesium.js
parent
2a104624
Pipeline
#1089
passed with stage
in 1 second
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
public/load_cesium.js
View file @
5d19b8cb
var
viewer
=
new
Cesium
.
Viewer
(
'
cesiumContainer
'
);
Cesium
.
Ion
.
defaultAccessToken
=
'
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJmMGJkYzQwZS1lNTI2LTQ1N2UtYjEyNy1lMjJiYjg2YjIxYmQiLCJpZCI6MTcxNDQsInNjb3BlcyI6WyJhc3IiLCJnYyJdLCJpYXQiOjE1NzE3Mjc2Njl9.C_XxMaj0_rAu-ADAkpcjcdzcccEMZ-cdbcn4fi5qby8
'
;
var
viewer
=
new
Cesium
.
Viewer
(
'
cesiumContainer
'
,
{
terrainProvider
:
Cesium
.
createWorldTerrain
(),
baseLayerPicker
:
true
,
vrButton
:
true
,
scene3DOnly
:
true
,
geocoder
:
false
,
//terrainExaggeration: 1.5,
navigationHelpButton
:
false
,
selectionIndicator
:
false
,
shadows
:
true
,
timeline
:
false
,
sceneModePicker
:
true
,
//infoBox: false,
//geocoder: false
});
var
tileset
=
viewer
.
scene
.
primitives
.
add
(
new
Cesium
.
Cesium3DTileset
({
// url: "../3dtile_nyc/tileset.json",
// url: "http://193.196.37.89:8092/AssetsHFT/3DTile_Niedernhalle/tileset.json",
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment