Skip to content

Commit

Permalink
Add support for non-standard tile size
Browse files Browse the repository at this point in the history
  • Loading branch information
urubens committed Sep 29, 2020
1 parent 09d6805 commit 4a4bb10
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/components/viewer/CytomineImage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
ref="baseSource"
@mounted="setBaseSource()"
:transition="0"
:tile-size="tileSize"
/>
</vl-layer-tile>

Expand Down Expand Up @@ -366,6 +367,9 @@ export default {
imageSize() {
return [this.image.width, this.image.height];
},
tileSize() {
return this.image.tileSize;
},

baseLayerURLs() {
let filterPrefix = this.imageWrapper.colors.filter || '';
Expand Down

0 comments on commit 4a4bb10

Please sign in to comment.