Skip to content

Commit

Permalink
Stop lighting the vector example
Browse files Browse the repository at this point in the history
  • Loading branch information
gberaudo committed Sep 6, 2017
1 parent 9b1bc97 commit 6e760e6
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions examples/vectors.js
Original file line number Diff line number Diff line change
Expand Up @@ -256,11 +256,9 @@ dragAndDropInteraction.on('addfeatures', (event) => {
const ol3d = new olcs.OLCesium({map, target: 'map3d'});
const scene = ol3d.getCesiumScene();
const terrainProvider = new Cesium.CesiumTerrainProvider({
url: '//assets.agi.com/stk-terrain/world',
requestVertexNormals: true
url: '//assets.agi.com/stk-terrain/world'
});
scene.terrainProvider = terrainProvider;
scene.globe.enableLighting = true;
ol3d.setEnabled(true);

const csLabels = new Cesium.LabelCollection();
Expand Down

0 comments on commit 6e760e6

Please sign in to comment.