Use ol.inherits instead of goog.inherits
This commit is contained in:
@@ -23,7 +23,7 @@ ol.format.GML2 = function(opt_options) {
|
||||
var options = /** @type {olx.format.GMLOptions} */
|
||||
(opt_options ? opt_options : {});
|
||||
|
||||
goog.base(this, options);
|
||||
ol.format.GMLBase.call(this, options);
|
||||
|
||||
this.FEATURE_COLLECTION_PARSERS[ol.format.GMLBase.GMLNS][
|
||||
'featureMember'] =
|
||||
@@ -36,7 +36,7 @@ ol.format.GML2 = function(opt_options) {
|
||||
options.schemaLocation : ol.format.GML2.schemaLocation_;
|
||||
|
||||
};
|
||||
goog.inherits(ol.format.GML2, ol.format.GMLBase);
|
||||
ol.inherits(ol.format.GML2, ol.format.GMLBase);
|
||||
|
||||
|
||||
/**
|
||||
|
||||
@@ -39,7 +39,7 @@ ol.format.GML3 = function(opt_options) {
|
||||
var options = /** @type {olx.format.GMLOptions} */
|
||||
(opt_options ? opt_options : {});
|
||||
|
||||
goog.base(this, options);
|
||||
ol.format.GMLBase.call(this, options);
|
||||
|
||||
/**
|
||||
* @private
|
||||
@@ -74,7 +74,7 @@ ol.format.GML3 = function(opt_options) {
|
||||
options.schemaLocation : ol.format.GML3.schemaLocation_;
|
||||
|
||||
};
|
||||
goog.inherits(ol.format.GML3, ol.format.GMLBase);
|
||||
ol.inherits(ol.format.GML3, ol.format.GMLBase);
|
||||
|
||||
|
||||
/**
|
||||
|
||||
@@ -76,9 +76,9 @@ ol.format.GMLBase = function(opt_options) {
|
||||
ol.format.GMLBase.prototype.readFeaturesInternal)
|
||||
};
|
||||
|
||||
goog.base(this);
|
||||
ol.format.XMLFeature.call(this);
|
||||
};
|
||||
goog.inherits(ol.format.GMLBase, ol.format.XMLFeature);
|
||||
ol.inherits(ol.format.GMLBase, ol.format.XMLFeature);
|
||||
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user