Support Hi-DPI tiles
Submitted by Mattias Bengtsson
It would be great if Champlain could support loading Hi-DPI tiles in some way.
Lots of tile providers support putting a "@2x" string somewhere in the tile URL to get the hi resolution version of a tile for use on Hi-DPI screens.
Look at these two URL's for example:
My guess is that what you would do is add a property or two to tile sources allowing to define how to access the hi-dpi tiles.
Then for rendering you'd look at these properties in clutter: ClutterSettings:window-scaling-factor clutter_canvas_set_scale_factor clutter_canvas_get_scale_factor
And use the hi-dpi tiles if we're on a hi-dpi desktop.
My guess is that there's a lot to think about here regarding physical and scaled pixels that we need to think about.