new module:LayerHelper($q, $http, ngeoTilesPreloadingLimit)
Provides help functions that helps you to create and manage layers.
Parameters:
Name | Type | Description |
---|---|---|
$q |
angular.$q | Angular promises/deferred service. |
$http |
angular.$http | Angular http service. |
ngeoTilesPreloadingLimit |
number | Load tiles up to preload levels. By default preload is Infinity, which means load all tiles on the top of the visible level. See also preload value in documentation for ol.Layer.Tile. |