Kyrix icon indicating copy to clipboard operation
Kyrix copied to clipboard

Map images are broken in a wildfire example

Open sehilyi opened this issue 4 years ago • 3 comments

In the wildfire example (http://wildfire.kyrixdemo.live), map images in the lowest zoom level (highest resolution) look to be broken.

Screenshot: Screen Shot 2020-10-27 at 3 36 24 PM

Great work btw!

sehilyi avatar Oct 27 '20 19:10 sehilyi

Thanks! Yea it's because the openstreetmap tiles do not exist for the finest zoom levels. It's an open question as to how we stop the user from zooming further in these situations.

tracyhenry avatar Oct 27 '20 21:10 tracyhenry

Ah, I see. Thank you for answering! Would either limiting the zoom level (disallow going beyond the predefined zoom level just like in GMaps) or stretching the highest resolution image when it exceeds the lowest level be a feasible solution for that?

sehilyi avatar Oct 28 '20 15:10 sehilyi

Ah, I see. Thank you for answering! Would either limiting the zoom level (disallow going beyond the predefined zoom level just like in GMaps) or stretching the highest resolution image when it exceeds the lowest level be a feasible solution for that?

Right - we can limit the predefined # of zoom levels, which'll be the quickest fix. But it seems like OSM has different # of zoom levels in different places, which'll require something like the second solution you proposed.

Thanks for suggesting!

tracyhenry avatar Oct 28 '20 18:10 tracyhenry