Add loader and strategy to ol.source.Vector

This commit is contained in:
Éric Lemoine
2015-04-03 20:13:50 +02:00
parent e86fd4afd4
commit 09b90c8424
7 changed files with 251 additions and 16 deletions

View File

@@ -1,8 +1,15 @@
goog.provide('ol.LoadingStrategy');
goog.provide('ol.loadingstrategy');
goog.require('ol.TileCoord');
/**
* @typedef {function(ol.Extent, number): Array.<ol.Extent>}
*/
ol.LoadingStrategy;
/**
* Strategy function for loading all features with a single request.
* @param {ol.Extent} extent Extent.