Use Array.isArray instead of goog.isArray
This commit is contained in:
@@ -172,7 +172,7 @@ ol.source.Vector = function(opt_options) {
|
||||
if (options.features instanceof ol.Collection) {
|
||||
collection = options.features;
|
||||
features = collection.getArray();
|
||||
} else if (goog.isArray(options.features)) {
|
||||
} else if (Array.isArray(options.features)) {
|
||||
features = options.features;
|
||||
}
|
||||
if (!useSpatialIndex && collection === undefined) {
|
||||
|
||||
Reference in New Issue
Block a user