Massive performance issues with huge maps on modern mobile devices caused by Canvas
See original GitHub issueDiscussed in https://github.com/openseadragon/openseadragon/discussions/2097
<div type='discussions-op-text'>Originally posted by liveman1 January 22, 2022 Hi,
I have massive performance issues for huge maps on modern mobile devices (iPad air 4, iPhone 12), not being able to pan & zoom properly. When zooming in to a detailed section performance is great again. So this happens only on the initial zoom level with the entire image loaded. There are no issues on older devices like iPhone SE or iPhone 11. Thus, I guess this is related to the higher resolution of modern displays trying to load & handle the image in a much higher resolution.
I build a huge map from DZI files like this:
var viewer = OpenSeadragon({
id: "genes",
tileSources: "genes.dzi",
...
});
viewer.addTiledImage({
tileSource: 'g1.dzi',
x: 0.1,
y: 0.1,
width: 0.01
});
viewer.addTiledImage({
tileSource: 'g2.dzi',
x: 0.2,
y: 0.1,
width: 0.01
});
viewer.addTiledImage({
tileSource: 'g3.dzi',
x: 0.3,
y: 0.1,
width: 0.01
});
...
viewer.addTiledImage({
tileSource: 'g100.dzi',
x: 0.9,
y: 0.9,
width: 0.01
});
Thanks a lot!</div>
Issue Analytics
- State:
- Created 2 years ago
- Comments:10 (4 by maintainers)
Top Results From Across the Web
Discussions · openseadragon/openseadragon - GitHub
Is there any way to add an id to the canvas element ... Massive performance issues with huge maps on modern mobile devices...
Read more >Common issues and resolutions for Power Apps
A list of common issues and resolutions within Power Apps. ... For help with performance problems in canvas apps, read the topics under...
Read more >High Performance Map Interactions using HTML5 Canvas
As you can see, the main performance gain comes from greatly reducing the browser rendering time (purple). Across all devices, the maps now...
Read more >HTML5 Canvas: An Open Standard for High Performing GIS ...
The original system has been adapted for HTML5 Canvas and is now the primary method to deliver all maps at GIS Cloud.
Read more >Evaluating the Performance of Three Popular Web Mapping ...
end devices for displaying raster or vector maps, ... Since the introduction of modern Web maps (https://gistbok.ucgis.org/bok-topics/web-.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks a lot for your help! I will try to prepare an abstracted version & provide it to you.
@liveman1 Glad to hear we’re making progress here. Interesting you mentioned loading tiles… That reminds me there are two different kinds of performance for OSD: the pan/zoom animation frame rate and the tile loading speed. I’ve been assuming we’re talking about the frame rate, but now you’re mentioning the loading speed. Did I misunderstand, or are they both issues in this scenario?