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

feat(tiler): Add support for callback TTL on request #42

Merged
merged 3 commits into from
Dec 19, 2019

Conversation

cosmin-petrescu
Copy link

And max zoom level on request which overwrite the initialisation one

types/TTtl.ts Outdated
@@ -0,0 +1 @@
export type TTtl = (zoomLevel: number) => number | Promise<number>;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if you add number | ... then that part doesn't have to be duplicated in the other places

@cosmin-petrescu cosmin-petrescu merged commit 9ce99f6 into master Dec 19, 2019
@cosmin-petrescu cosmin-petrescu deleted the feature/configurable-cache branch December 19, 2019 13:12
@bartolkaruza
Copy link
Contributor

🎉 This PR is included in version 2.6.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

None yet

2 participants