Created
April 7, 2016 20:01
-
-
Save TomPed/f028e4d7b79711a325ef077c53307472 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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