Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: Tile caching #28

Open
Lumiukko opened this issue Jun 16, 2021 · 3 comments
Open

Feature request: Tile caching #28

Lumiukko opened this issue Jun 16, 2021 · 3 comments

Comments

@Lumiukko
Copy link

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 [?]).

@1doshi
Copy link

1doshi commented Jan 24, 2023

Hello! Do u understand how save in cache xyz tiles?

@1doshi
Copy link

1doshi commented Jan 24, 2023

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?

@maratumba
Copy link

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?).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants