Ensure supportedCRS property won't be renamed
this property was renamed when using wmts parser when built with ADVANCED_OPTIMIZATIONS
This commit is contained in:
@@ -67,7 +67,7 @@ ol.parser.ogc.WMTSCapabilities_v1_0_0 = function() {
|
|||||||
},
|
},
|
||||||
'TileMatrix': function(node, obj) {
|
'TileMatrix': function(node, obj) {
|
||||||
var tileMatrix = {
|
var tileMatrix = {
|
||||||
'supportedCRS': obj.supportedCRS
|
'supportedCRS': obj['supportedCRS']
|
||||||
};
|
};
|
||||||
this.readChildNodes(node, tileMatrix);
|
this.readChildNodes(node, tileMatrix);
|
||||||
obj['matrixIds'].push(tileMatrix);
|
obj['matrixIds'].push(tileMatrix);
|
||||||
|
|||||||
Reference in New Issue
Block a user