Skip to content

Commit

Permalink
fix(ol:Layers): correction tileMatrices[0] introduit par Maj des pyra…
Browse files Browse the repository at this point in the history
…mides
  • Loading branch information
elias75015 committed Jun 5, 2024
1 parent 0208f20 commit ff1ca9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/OpenLayers/Layers/SourceWMTS.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ var SourceWMTS = (function (WMTSExtended) {
tileGrid : new WMTSTileGrid({
resolutions : wmtsParams.nativeResolutions,
matrixIds : wmtsParams.matrixIds,
origin : [wmtsParams.tileMatrices[0].topLeftCorner.x, wmtsParams.tileMatrices[0].topLeftCorner.y]
origin : [Object.values(wmtsParams.tileMatrices)[0].topLeftCorner.x, Object.values(wmtsParams.tileMatrices)[0].topLeftCorner.y]
})
};

Expand Down

0 comments on commit ff1ca9f

Please sign in to comment.