Initialize hasZ in the constructor of GML3

This commit is contained in:
Julien Enselme
2017-08-10 19:06:38 +02:00
parent 8c14262efc
commit 15ddab7d0a

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