georaster-layer-for-leaflet icon indicating copy to clipboard operation
georaster-layer-for-leaflet copied to clipboard

Sample from previously loaded tiles at higher zoom level when I zoom out

Open DanielJDufour opened this issue 5 years ago • 5 comments

DanielJDufour avatar Sep 10 '20 02:09 DanielJDufour

@DanielJDufour this would be an amazing feature. If I understand it correctly the image would remain higher res when zooming back out because it is using the already fetched overlays?

Rennzie avatar Dec 18 '20 11:12 Rennzie

Yes, that's correct!

DanielJDufour avatar Dec 18 '20 14:12 DanielJDufour

Yes, that's correct!

Amazing. Have you got any sort of time line on this? Or, could I help in anyway. I'm very new to leaflet plugins and class implementations in general but if there are ways I can help please let me know.

Rennzie avatar Dec 18 '20 15:12 Rennzie

I can't provide a timeline. It probably won't be soon though. If you'd like to attempt it, I'm most open to pull requests!

If you want to try it, I would look at using drawImage: https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/drawImage

DanielJDufour avatar Dec 22 '20 23:12 DanielJDufour

Ok great. Working with images is pretty new for me but I should have a chance in the New Year to give this a go. If you've got a minute or two to brain dump on how you see this working or what needs to be changed updated, that would be really usefull.

Rennzie avatar Dec 23 '20 11:12 Rennzie