Remove use of goog.array.map
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
goog.provide('ol.TileUrlFunction');
|
||||
goog.provide('ol.TileUrlFunctionType');
|
||||
|
||||
goog.require('goog.array');
|
||||
goog.require('goog.asserts');
|
||||
goog.require('goog.math');
|
||||
goog.require('ol.TileCoord');
|
||||
@@ -73,7 +72,7 @@ ol.TileUrlFunction.createFromTemplate = function(template) {
|
||||
*/
|
||||
ol.TileUrlFunction.createFromTemplates = function(templates) {
|
||||
return ol.TileUrlFunction.createFromTileUrlFunctions(
|
||||
goog.array.map(templates, ol.TileUrlFunction.createFromTemplate));
|
||||
templates.map(ol.TileUrlFunction.createFromTemplate));
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user