diff --git a/examples/mapbox-vector-tiles-advanced.js b/examples/mapbox-vector-tiles-advanced.js index 3dfc4950c5..3fa9e6f3fe 100644 --- a/examples/mapbox-vector-tiles-advanced.js +++ b/examples/mapbox-vector-tiles-advanced.js @@ -17,7 +17,7 @@ var key = 'pk.eyJ1IjoiYWhvY2V2YXIiLCJhIjoiRk1kMWZaSSJ9.E5BkluenyWQMsBLsuByrmg'; // Calculation of resolutions that match zoom levels 1, 3, 5, 7, 9, 11, 13, 15. var resolutions = []; -for (var i = 0; i <= 7; ++i) { +for (var i = 0; i <= 8; ++i) { resolutions.push(156543.03392804097 / Math.pow(2, i * 2)); } // Calculation of tile urls for zoom levels 1, 3, 5, 7, 9, 11, 13, 15.