@@ -1,6 +1,5 @@
|
||||
goog.provide('ol.tilegrid.WMTS');
|
||||
|
||||
goog.require('goog.array');
|
||||
goog.require('goog.asserts');
|
||||
goog.require('ol.proj');
|
||||
goog.require('ol.tilegrid.TileGrid');
|
||||
@@ -104,7 +103,7 @@ ol.tilegrid.WMTS.createFromCapabilitiesMatrixSet =
|
||||
// swap origin x and y coordinates if axis orientation is lat/long
|
||||
var switchOriginXY = projection.getAxisOrientation().substr(0, 2) == 'ne';
|
||||
|
||||
goog.array.sort(matrixSet[matrixIdsPropName], function(a, b) {
|
||||
matrixSet[matrixIdsPropName].sort(function(a, b) {
|
||||
return b[scaleDenominatorPropName] - a[scaleDenominatorPropName];
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user