Overrides schemaLocation in subclasses

This commit is contained in:
Florent gravin
2014-10-03 08:57:52 +02:00
parent 678c66f50c
commit 0646056751
3 changed files with 20 additions and 7 deletions
+1 -2
View File
@@ -62,8 +62,7 @@ ol.format.GMLBase = function(opt_options) {
* @protected
* @type {string}
*/
this.schemaLocation = goog.isDef(options.schemaLocation) ?
options.schemaLocation : this.constructor.schemaLocation_;
this.schemaLocation = '';
goog.base(this);
};