From 94b8c853a71c4bbac8a13aa64ffa2edd0ac14bd9 Mon Sep 17 00:00:00 2001 From: Tim Schaub Date: Tue, 10 May 2016 11:47:18 -0600 Subject: [PATCH] Use legacy UTFGrid source (which doesn't require a token) --- examples/tileutfgrid.js | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/tileutfgrid.js b/examples/tileutfgrid.js index ebc1cd96aa..e9be2fe97e 100644 --- a/examples/tileutfgrid.js +++ b/examples/tileutfgrid.js @@ -12,6 +12,7 @@ var mapLayer = new ol.layer.Tile({ }); var gridSource = new ol.source.TileUTFGrid({ + jsonp: true, // for v4 and above, leave this option off url: 'http://api.tiles.mapbox.com/v3/mapbox.geography-class.json' });