Skip to content

Instantly share code, notes, and snippets.

@denverpierce
Created May 16, 2017 22:08
Show Gist options
  • Save denverpierce/2e501f3090cb830efb1bee5c89e70288 to your computer and use it in GitHub Desktop.
Save denverpierce/2e501f3090cb830efb1bee5c89e70288 to your computer and use it in GitHub Desktop.
Gist for testing Ceisum Label/Billboard camera issues
var viewer = new Cesium.Viewer('cesiumContainer', {
timeline : false,
animation : false
});
viewer.scene.minimumDisableDepthTestDistance = Number.POSITIVE_INFINITY;
var dataSource = Cesium.GeoJsonDataSource.load('../../SampleData/simplestyles.geojson');
viewer.dataSources.add(dataSource);
viewer.camera.setView({
destination: new Cesium.Cartesian3(6386504.750228504, 75813.920583786, -58726.819241853744),
orientation: {
direction: new Cesium.Cartesian3(-0.11989477682735832, 0.8011606882897737, 0.5863162917986964),
up: new Cesium.Cartesian3(0.9926818389396638, 0.10532217621496866, 0.05907627135077764)
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment