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

Define setting to use many domains in tilejson tile url #16

Open
submarcos opened this issue Feb 25, 2021 · 0 comments
Open

Define setting to use many domains in tilejson tile url #16

submarcos opened this issue Feb 25, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@submarcos
Copy link
Owner

Actually tilejson generate a single relative url in list.

To work wirh mapbox, we need to define possible values to generate absolute urls.

Ex :

From

tiles : ["/features/tile/{z}/{x}/{y}"]

To

tiles: [
  "https://a.mydomain.com/features/tile/{z}/{x}/{y}",
  "https://b.mydomain.com/features/tile/{z}/{x}/{y}"
]
  • By discovering ALLOWED_HOSTS and SSL settings or just with VECTORTILES_BASEURLS ?
@submarcos submarcos added the enhancement New feature or request label Feb 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant