-
Notifications
You must be signed in to change notification settings - Fork 195
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
Add onEachFeature #131
base: master
Are you sure you want to change the base?
Add onEachFeature #131
Conversation
This then allows differentiation of styles with the same VT layer name. Discussed here: Leaflet#125
…just sets of L.Path options
This reverts commit 2379f4c.
Updated from Leaflet#68
Hi Tom, I've used some of the code from this PR. Good work! I only needed to make one small change - provide the zoom level parameter when calling
When zooming in / out, sometimes the map's current zoom level and the requested tile zoom level are not the same, and so I was noticing some of my tiles were empty (i.e. the lats / longs were being calculated incorrectly and were therefore not being dsisplayed within the visible bounds of the map). I found it was due to the above code. Without supplying the optional zoom parameter, it defaults to using the map's current zoom level, rather than using the zoom level of the tile itself (since the zoom level could be different momentarily, while the user is zooming in / out). Might be worth including this change in the PR? Thanks! |
I'm wondering what's the status of this PR, and if it can be merged and released? |
Updated from #68, with deduplicating for labels added to example.