Skip to content

Default Image Size in CanvasPanel Component #230

Answered by stephenwf
jasoncorum asked this question in Q&A
Discussion options

You must be logged in to vote

Sorry, I'm having a bit of trouble understand exactly what canvas panel should display? If you're using a "static", the aspect ratio of canvas panel should match the current canvas, and a specified height or width. In the default/zoom preset it should expand to fill the available space.

In terms of which URLs are requested, that's something that's a bit trickier to control (and something we want to improve). It will compile a list of all the available fixed "sizes" and also tiled image layers (scale factors) and depending on the current zoom level and DPI of the display, will use one of them as the initial image. Fixed size images are weighted slightly more, as they tend to be more perfor…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by jasoncorum
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants