Remove use of goog.array.indexOf
This commit is contained in:
@@ -122,7 +122,7 @@ ol.format.GMLBase.prototype.readFeaturesInternal = function(node, objectStack) {
|
|||||||
var child = node.childNodes[i];
|
var child = node.childNodes[i];
|
||||||
if (child.nodeType === 1) {
|
if (child.nodeType === 1) {
|
||||||
var ft = child.nodeName.split(':').pop();
|
var ft = child.nodeName.split(':').pop();
|
||||||
if (goog.array.indexOf(featureType, ft) === -1) {
|
if (featureType.indexOf(ft) === -1) {
|
||||||
var key;
|
var key;
|
||||||
if (!goog.object.contains(featureNS, child.namespaceURI)) {
|
if (!goog.object.contains(featureNS, child.namespaceURI)) {
|
||||||
key = prefix + goog.object.getCount(featureNS);
|
key = prefix + goog.object.getCount(featureNS);
|
||||||
|
|||||||
Reference in New Issue
Block a user