Merge pull request #6807 from Jenselme/initialize-hasZ-gml3
Initialize hasZ in the constructor of GML3
This commit is contained in:
@@ -67,6 +67,13 @@ ol.format.GML3 = function(opt_options) {
|
||||
this.schemaLocation = options.schemaLocation ?
|
||||
options.schemaLocation : ol.format.GML3.schemaLocation_;
|
||||
|
||||
/**
|
||||
* @private
|
||||
* @type {boolean}
|
||||
*/
|
||||
this.hasZ = options.hasZ !== undefined ?
|
||||
options.hasZ : false;
|
||||
|
||||
};
|
||||
ol.inherits(ol.format.GML3, ol.format.GMLBase);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user