Skip to content

Instantly share code, notes, and snippets.

@jumpjack
jumpjack / test-cesium.js
Created August 30, 2021 11:23
test cesium import
var viewer = new Cesium.Viewer('cesiumContainer', {
selectionIndicator : false,
infoBox : false,
sceneMode : Cesium.SceneMode.SCENE2D
});
var scene = viewer.scene;
var ellipsoid = scene.globe.ellipsoid;
var geodesic = new Cesium.EllipsoidGeodesic();