vc-terrain-provider-cesium #583
Answered
by
PetukhovArt
PetukhovArt
asked this question in
Q&A
-
Hello, i have the problem with rendering cesium terrain 3d model.
( i dont know why in exmaple there is no code , how the imageryProvider prop is created in vc-viewer ) and the result : map is not 3D , it loads like 2d model. but if i use like this :
it loads terrain map normally with 3d models of objects ( mountains, etc...) , without ION access token how i can load 3d cesium terrain model normally, to use user ion token , assetID and url ? |
Beta Was this translation helpful? Give feedback.
Answered by
PetukhovArt
Jul 24, 2024
Replies: 1 comment 1 reply
-
import { createApp } from 'vue'
import VueCesium from 'vue-cesium'
import App from './App.vue'
const app = createApp(App)
app.use(VueCesium, {
cesiumPath: 'path/to/Cesium.js',
accessToken: 'your Cesium Ion access token'
}) |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
i found solution :
pass prop with current provider id to vc-viewer key ( this reload viewer on provider change)