Rename ol.loading to ol.loadingstrategy

This commit is contained in:
Tom Payne
2014-03-13 20:21:15 +01:00
parent de4a17b8e2
commit b8869805a7
7 changed files with 23 additions and 12 deletions

View File

@@ -3,7 +3,7 @@ goog.require('ol.View2D');
goog.require('ol.format.OSMXML');
goog.require('ol.layer.Tile');
goog.require('ol.layer.Vector');
goog.require('ol.loading');
goog.require('ol.loadingstrategy');
goog.require('ol.proj');
goog.require('ol.source.BingMaps');
goog.require('ol.source.ServerVector');
@@ -95,7 +95,7 @@ var vectorSource = new ol.source.ServerVector({
epsg4326Extent.join(',');
},
format: new ol.format.OSMXML(),
loadingFunction: ol.loading.createTile(new ol.tilegrid.XYZ({
loadingStrategy: ol.loadingstrategy.createTile(new ol.tilegrid.XYZ({
maxZoom: 19
})),
projection: 'EPSG:3857'