Get projection and axis order from GML data
To make tests pass, the winding order of the coordinates in the test data had to be reversed to conform to common gml practice.
This commit is contained in:
@@ -111,6 +111,14 @@ ol.parser.ogc.GML_v2 = function(opt_options) {
|
||||
goog.inherits(ol.parser.ogc.GML_v2, ol.parser.ogc.GML);
|
||||
|
||||
|
||||
/**
|
||||
* @return {string?} Axis orientation that was configured with this instance.
|
||||
*/
|
||||
ol.parser.ogc.GML_v2.prototype.getAxisOrientation = function() {
|
||||
return this.axisOrientation;
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {Object} obj Object structure to write out as XML.
|
||||
* @return {string} An string representing the XML document.
|
||||
|
||||
Reference in New Issue
Block a user