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

Support Multi-Source Vector Tile #279

Open
Kanahiro opened this issue Feb 7, 2020 · 0 comments
Open

Support Multi-Source Vector Tile #279

Kanahiro opened this issue Feb 7, 2020 · 0 comments

Comments

@Kanahiro
Copy link

Kanahiro commented Feb 7, 2020

This plugin needs two .jsons, tiles.json and style.json.
one tiles.json means one source, and only one tiles.json can be set as tile provider on this plugin.
This means, the plugin don't support multi-source vector tile.

I guess two ways to support them.

1:style.json only loading
Now this plugin don't allow to load vector tiles by only style.json. Always needs tiles.json, but style.json includes link to a couple of tiles.json and therefore, you should be able to load tiles by only style.json (like Mapbox GL JS).

2:styling layers of only one source
When style.json has multi-source, no layers will be styled on this plugin.
Maybe only layers set as tiles.json can be styled on even multi-source style.json.

Please advise me.

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

1 participant