Open Lumiukko opened 3 years ago
Hello! Do u understand how save in cache xyz tiles?
First of all, great library! Intuitive and simple - loving it.
One thing i noticed is that tiles are being loaded when calling the
render()
method - which makes sense, as we can add elements on the map, which may change the bounding box.However, the retrieved tiles could be stored in some local user directory for caching, so not every
render
requests a tile from an online source, which would reduce the server load and the number of misses (i.e.request failed [?]
).
or this lib working only with internet connection?
I think he does know what he is talking about and has a valid question, do you understand that you need to be nicer for someone who doesn't seem to know basics of how requests work?
Anyway @Lumiukko, I have the same issue and I will try something with the requests-cache package (patching perhaps?).
First of all, great library! Intuitive and simple - loving it.
One thing i noticed is that tiles are being loaded when calling the
render()
method - which makes sense, as we can add elements on the map, which may change the bounding box.However, the retrieved tiles could be stored in some local user directory for caching, so not every
render
requests a tile from an online source, which would reduce the server load and the number of misses (i.e.request failed [?]
).