Replies: 1 comment
-
你是修改了 html 吗? 可以试试在代码里设置 import { Viewer, Ion } from 'cesium';
import './css/main.css';
Ion.defaultAccessToken = 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa';
const viewer = new Viewer('cesiumContainer'); 或者 import * as Cesium from 'cesium';
Cesium.Ion.defaultAccessToken = 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'; |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
报错如下
Beta Was this translation helpful? Give feedback.
All reactions