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

Provide local assets directory #51

Open
brendan-ward opened this issue Jan 30, 2020 · 1 comment
Open

Provide local assets directory #51

brendan-ward opened this issue Jan 30, 2020 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@brendan-ward
Copy link
Collaborator

This could be very useful for providing local glyphs and sprites, as well as a potentially more generalized solution to local styles than #38

Behavior would be very similar to what we get now with local tiles directory: define it on the command line, and refer to it with a custom hostname, e.g., assets://...

@brendan-ward brendan-ward added the enhancement New feature or request label Jan 30, 2020
@brendan-ward brendan-ward self-assigned this Jan 30, 2020
@brendan-ward
Copy link
Collaborator Author

This can also be leveraged for local GeoJSON (intended to be immutable rather than varying with request):
https://docs.mapbox.com/mapbox-gl-js/style-spec/sources/#geojson

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