This commit is contained in:
qiushijie 2024-10-23 18:12:49 +08:00
parent 871872e80c
commit caf75e34af
1 changed files with 1 additions and 0 deletions

View File

@ -6,6 +6,7 @@ import { gridGeojsonUrl,demoWmtsService,initConfig,tileUrlTemplate} from "@/conf
const cesiumKey = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiIyNjI2ZjVjMS0zZTFjLTQ3MDAtYTZlZC02YWFjOWQwNzBjNjIiLCJpZCI6ODM1NTQsImlhdCI6MTY0NTY1NzYzM30.IPqS_sM-s_vzNnK0EAiTy6kpYP5RBYkuMgbqJtKQkPw";
Cesium.Ion.defaultAccessToken = cesiumKey;
let tileset = null;
//gitea
const initViewer = ()=>{
const viewer = new Cesium.Viewer('cesiumContainer', {
geocoder: false, //