This commit is contained in:
parent
871872e80c
commit
caf75e34af
|
@ -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, //位置查找
|
||||
|
|
Loading…
Reference in New Issue