Skip to content

Commit

Permalink
[BUG] WMTS GPF TileMatrixSet PM_*
Browse files Browse the repository at this point in the history
  • Loading branch information
Viglino committed Jun 11, 2024
1 parent 182d6ab commit 39338a7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/layerShop/layers/addLayerWMS.js
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,7 @@ if (!/wmts/.test(wmtsCapabilities.getDialog().get('className'))) wmtsCapabilitie
// Check supported TileMatrix
wmtsCapabilities.isSupportedSet = function(tm) {
if (tm.TileMatrixSet === 'GoogleMapsCompatible') return true;
if (/PM_/.test(tm.TileMatrixSet)) tm.TileMatrixSet = 'PM'
// console.log(tm)
return WMTSCapabilities.prototype.isSupportedSet(tm);
}
Expand Down

0 comments on commit 39338a7

Please sign in to comment.