podusowski / walkers

slippy map (openstreetmap) widget for egui
MIT License
143 stars 27 forks source link

Is it capable of using offline pre-downloaded osm files to render it? #188

Closed butterdev0 closed 13 hours ago

podusowski commented 2 months ago

If you mean the rendered tiles, then there is a support for HTTP cache, but that's it. There is no explicit API to download them beforehand. Also, it would be against osm policies.

butterdev0 commented 2 months ago

In the openstreetmaps website theres a part where you select an area and from there you can download osm files with that info. Im trying to use those files in egui

podusowski commented 2 months ago

I see. I'm afraid this library cannot render these. You would need to use Mapnik or similar to generate tiles, and then you would display them in Walkers. It's a quite a big task though.