From 528aa695307802c842a41d047427408794ba3722 Mon Sep 17 00:00:00 2001 From: gchoqueux Date: Wed, 1 Aug 2018 18:23:19 +0200 Subject: [PATCH] fix(example): define pole texture for globe vector tile and globe max level subdivision --- examples/globe_vector_tiles.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/examples/globe_vector_tiles.html b/examples/globe_vector_tiles.html index a974e8f27e..4282206fa0 100644 --- a/examples/globe_vector_tiles.html +++ b/examples/globe_vector_tiles.html @@ -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);