mapbox / mapbox/mapbox-gl-leaflet
Adding multiple style layers
Open
@w8r is already working on this.
Since Dec 5, 2019.
- Dominant language
- JavaScript
- Stars
- 546
- Forks
- 148
- PR merge metrics
- No merged PRs in 30d
Description
Hello,
We would like to be able to add two style layers to the map. An imagery style that sits below our leaflet data, and a labels style that sits on top of the imagery and data. We have not succeeded at getting this to work. Here is a simple example of what we tried:
https://jsfiddle.net/4j9ghubc/
This only shows the labels. We would like to see the imagery behind the transparent parts of the labels.
Please let us know if you need more example or clarification.
Thanks!
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.