Skip to content

Commit

Permalink
fix(example): define pole texture for globe vector tile and globe max…
Browse files Browse the repository at this point in the history
… level subdivision
  • Loading branch information
gchoqueux committed Aug 1, 2018
1 parent f04805d commit 528aa69
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion examples/globe_vector_tiles.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,11 @@
var viewerDiv = document.getElementById('viewerDiv');

// Instanciate iTowns GlobeView*
var view = new itowns.GlobeView(viewerDiv, positionOnGlobe);
var view = new itowns.GlobeView(viewerDiv, positionOnGlobe, { maxSubdivisionLevel: 13 });

// define pole texture
view.wgs84TileLayer.noTextureColor = new itowns.THREE.Color(0x95c1e1);

setupLoadingScreen(viewerDiv, view);
function addLayerCb(layer) {
return view.addLayer(layer);
Expand Down

0 comments on commit 528aa69

Please sign in to comment.