Use Array.isArray instead of goog.isArray
This commit is contained in:
@@ -328,7 +328,7 @@ ol.renderer.canvas.VectorLayer.prototype.renderFeature = function(feature, resol
|
||||
return false;
|
||||
}
|
||||
var loading = false;
|
||||
if (goog.isArray(styles)) {
|
||||
if (Array.isArray(styles)) {
|
||||
for (var i = 0, ii = styles.length; i < ii; ++i) {
|
||||
loading = ol.renderer.vector.renderFeature(
|
||||
replayGroup, feature, styles[i],
|
||||
|
||||
Reference in New Issue
Block a user