Fixing typo

Thanks @bartvde for spotting this.
This commit is contained in:
ahocevar
2013-07-29 10:33:51 +02:00
parent 56e8b1cfb4
commit e32da90f5a

View File

@@ -393,7 +393,7 @@ ol.parser.ogc.GML_v3 = function(opt_options) {
'upperCorner': function(bounds) {
// only 2d for simple features profile
var pos;
if (this.axisOrientation().substr(0, 2) === 'en') {
if (this.getAxisOrientation().substr(0, 2) === 'en') {
pos = (bounds.right + ' ' + bounds.top);
} else {
pos = (bounds.top + ' ' + bounds.right);