Ian Gilman
Ian Gilman
I'm not sure what you mean. Do you mean the zoom? You might want to read up on the different coordinate systems in OSD: https://openseadragon.github.io/examples/viewport-coordinates/
Yes, that's very odd! I don't fully understand it either. It seems to be the correct logic, though. Given that, I think I would flip it back so `haveDrawn` is...
Great! Merged. > No problem! Leaving the check in isn't expensive, and you're right that it is tough to sort out exactly what is going on with the math behind...
You're getting 3 to 4 frames per second on http://jjakucyk.com/transit/map/ on one of the new M1 MacBook Pros?? I'm on a four-year-old iMac and I'm getting a steady 60 FPS...
Thank you for the clarification/detail! I can see that it is slower on Safari on my computer than it is in Chrome. I'm not sure what to suggest (beyond what's...
It looks like the `fetch` solution above only has to do with overlays, and it looks like you don't have those. The `focus` thing might be relevant, since it happens...
Either a CSS file that's included in the HTML file or a style section in the HTML file should be fine. One way to test if it's having any effect...
> What I have noticed is that when the image first loads and is smooth, panning and scrolling pegs the GPU pretty hard. After letting go and starting another pan/zoom...
It still seems like it has to do with the focus even though the CSS fix isn't working. I've updated the CodePen to detect when anything is focused and automatically...
Great! It's not a perfect solution, since it makes it not possible to use keyboard commands. If we can figure out something that gets us the best of both worlds,...