Skip to content

Creating multiple sublayers within MVTLayer #6543

Answered by alasarr
arthurgailes asked this question in Q&A
Discussion options

You must be logged in to vote

That's an interesting feature request we're considering for the next version. I think we should make MVTLayer more flexible to allow specify the SubLayer to use per each layer at the MVT.

Try to use compositeLayer.getSubLayerProps to set a different id for each geojsonLayer.

To filter the data you'll need need to set binary:false to get the geojson version of the tile

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by arthurgailes
Comment options

You must be logged in to vote
6 replies
@chriszrc
Comment options

@arthurgailes
Comment options

@chriszrc
Comment options

@chriszrc
Comment options

@amuedespacher
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants