Skip to content

Instantly share code, notes, and snippets.

@TomPed
Created April 7, 2016 20:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save TomPed/f028e4d7b79711a325ef077c53307472 to your computer and use it in GitHub Desktop.
Save TomPed/f028e4d7b79711a325ef077c53307472 to your computer and use it in GitHub Desktop.
var viewer = new Cesium.Viewer('cesiumContainer');
var entity = viewer.entities.add({
name : 'Airplane',
position : Cesium.Cartesian3.fromDegrees(-123.0744619, 44.0503706, 5000.0),
model : {
uri : '../../SampleData/models/CesiumAir/Cesium_Air.glb',
minimumPixelSize : 128,
maximumScale : 20000
}
});
viewer.trackedEntity = entity;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment