We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9127b5b commit 2357893Copy full SHA for 2357893
src/components/sources/SourceWMTS.vue
@@ -28,7 +28,7 @@ export default {
28
29
for (let z = 0; z < properties.tileZoomLevel; ++z) {
30
resolutions[z] = size.value / Math.pow(2, z);
31
- matrixIds[z] = z;
+ matrixIds[z] = props.tileMatrixPrefix + z;
32
}
33
34
return new WMTSTileGrid({
@@ -133,6 +133,10 @@ export default {
133
layer: {
134
type: String,
135
},
136
+ tileMatrixPrefix: {
137
+ type: String,
138
+ default: ''
139
+ },
140
styles: {
141
type: [String, Array, Function],
142
0 commit comments