UTFGrid with Swipe Layers
Nobody has claimed this yet.
- Dominant language
- No language data
- Stars
- 153
- Forks
- 26
- PR merge metrics
- No merged PRs in 30d
Description
I am using leaflet to create a set of swipable layers. Mapbox has an example of this: https://www.mapbox.com/mapbox.js/example/v1.0.0/swipe-layers/ My issue is that when a layer is getting clipped UTFGrid does not respect it. So it still gives the UTFGrid data for the last added layer. When hovering the other layer. Hopefully this make sense.
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.
Research direction
Start by reproducing the Mapbox swipe-layers example linked in the issue with Leaflet and clipped layers, then observe which UTFGrid data is returned while hovering each layer. Done means UTFGrid interaction respects the visible clipped layer instead of returning data from the last-added layer.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend, web-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100