-
Couldn't load subscription status.
- Fork 146
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
WMTS layers not working on latest versions of vue3-openlayers, Vite, crashes with:
vue3-openlayers.js?v=51cfb193:959 Uncaught (in promise) Error: `resolutions` must be sorted in descending order
at assert (vue3-openlayers.js?v=51cfb193:959:11)
at new TileGrid (vue3-openlayers.js?v=51cfb193:19924:5)
at new WMTSTileGrid (vue3-openlayers.js?v=51cfb193:20414:5)
at ComputedRefImpl.fn (vue3-openlayers.js?v=51cfb193:85726:14)
at refreshComputed (chunk-EPASFQWC.js?v=51cfb193:636:29)
at get value (chunk-EPASFQWC.js?v=51cfb193:1828:5)
at setup (vue3-openlayers.js?v=51cfb193:85735:26)
at callWithErrorHandling (chunk-EPASFQWC.js?v=51cfb193:2263:19)
at setupStatefulComponent (chunk-EPASFQWC.js?v=51cfb193:9983:25)
at setupComponent (chunk-EPASFQWC.js?v=51cfb193:9944:36)
Affected version(s)
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
`-- [email protected]
To Reproduce
Steps to reproduce the behavior:
- install latest Quasar
- install latest vue3-openlayers, ol
- add WMTS tile layer
<ol-tile-layer :opacity="1" :z-index="0"><ol-source-wmts url="https://karstdb.zrc-sazu.si/gis/" matrixSet="EPSG:3857" format="image/png" layer="lidar-tif" styles="default" /></ol-tile-layer>Additional context
On previous versions it was working
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working