Rename ol.projection.getFromCode to ol.projection.get

This commit is contained in:
Tom Payne
2013-03-06 18:02:46 +01:00
parent 6bcbd25e2f
commit afcbec469a
16 changed files with 50 additions and 50 deletions

View File

@@ -79,7 +79,7 @@ ol.parser.ogc.WMTSCapabilities_v1_0_0 = function() {
var topLeftCorner = this.getChildValue(node);
var coords = topLeftCorner.split(' ');
var axisOrientation =
ol.projection.getFromCode(obj['supportedCRS']).getAxisOrientation();
ol.projection.get(obj['supportedCRS']).getAxisOrientation();
obj['topLeftCorner'] = ol.Coordinate.fromProjectedArray(
[parseFloat(coords[0]), parseFloat(coords[1])], axisOrientation);
},