preemptive is now true by default + improved documentation

This commit is contained in:
Petr Sloup
2014-12-12 12:19:20 +01:00
parent 7bcd925cdb
commit 65583a8b77
3 changed files with 8 additions and 6 deletions

View File

@@ -12,8 +12,7 @@ var mapLayer = new ol.layer.Tile({
});
var gridSource = new ol.source.TileUTFGrid({
url: 'http://api.tiles.mapbox.com/v3/mapbox.geography-class.json',
preemptive: true
url: 'http://api.tiles.mapbox.com/v3/mapbox.geography-class.json'
});
var gridLayer = new ol.layer.Tile({source: gridSource});