Merge pull request #6807 from Jenselme/initialize-hasZ-gml3

Initialize hasZ in the constructor of GML3
This commit is contained in:
Bart van den Eijnden
2017-08-10 20:02:44 +02:00
committed by GitHub

View File

@@ -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);