Improve docs/examples for loadingstrategy

This commit is contained in:
Peter Robins
2016-04-02 13:05:53 +00:00
parent 3ba2d71784
commit 1cd7b76efe
4 changed files with 6 additions and 6 deletions

View File

@@ -18,9 +18,7 @@ var vectorSource = new ol.source.Vector({
'outputFormat=application/json&srsname=EPSG:3857&' +
'bbox=' + extent.join(',') + ',EPSG:3857';
},
strategy: ol.loadingstrategy.tile(ol.tilegrid.createXYZ({
maxZoom: 19
}))
strategy: ol.loadingstrategy.bbox
});