Use standard x, y axis order if we do not know better
This commit is contained in:
@@ -54,7 +54,8 @@ ol.parser.ogc.GML_v2 = function(opt_options) {
|
||||
for (var i = 0; i < numCoordinates; ++i) {
|
||||
var coord = coordinates[i];
|
||||
var part = goog.array.concat(coord);
|
||||
if (this.axisOrientation.substr(0, 2) !== 'en') {
|
||||
if (goog.isDef(this.axisOrientation) &&
|
||||
this.axisOrientation.substr(0, 2) !== 'en') {
|
||||
part[0] = coord[1];
|
||||
part[1] = coord[0];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user