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

Leaflet.VectorGrid implementation #32

Open
tomchadwin opened this issue Dec 1, 2017 · 3 comments
Open

Leaflet.VectorGrid implementation #32

tomchadwin opened this issue Dec 1, 2017 · 3 comments

Comments

@tomchadwin
Copy link
Contributor

An example in use with Leaflet.VectorGrid would be incredibly useful. As it stands, L.VectorGrid doesn't handle labelling. There are a couple of open PRs which could enable it, but they all produce one label per feature per tile. This means blurry text if Tooltips with no background are used.

If Labelgun could be implemented, it would automatically get rid of the duplicate labels (this was @perliedman's idea). However, I'm not having any joy implementing it with L.VectorGrid. The Leaflet example uses L.LayerGroup.eachFeature(), but this is not available in L.VectorGrid.

Any help would be very welcome indeed.

@JamesLMilner
Copy link
Contributor

JamesLMilner commented Feb 5, 2018

Only concern is VectorGrid as open Pull Requests from last year with no comments or interactions. I'd be worried about doing this work and then it not getting reviewed. Happy to review if that situation becomes a bit more promising!

@tomchadwin
Copy link
Contributor Author

Yeah, I got no feedback on my PRs for https://github.com/Leaflet/Leaflet.VectorGrid:

Leaflet/Leaflet.VectorGrid#129
Leaflet/Leaflet.VectorGrid#130
Leaflet/Leaflet.VectorGrid#131

Frustrating, as I think my changes are required for some very common styling conditions (eg OSM). It's probably down to my lack of knowledge of Git to produce a tidy PR (they are not squashed/rebased), But @IvanSanchez also disagreed that https://github.com/Leaflet/Leaflet.VectorGrid/pull/129/files was necessary - I don't know why, as I needed it to get it to work. @perliedman

@IvanSanchez
Copy link

Unfortunately I am not able to spend much time on Leaflet, let alone Leaflet.Vectorgrid. 😐

My complaints might have been rooted in the mapbox branch I was working on (https://github.com/Leaflet/Leaflet.VectorGrid/tree/mapbox) - i.e. being able to provide a mapbox-like stylesheet, and creating VectorGrid rules for that. I had an architecture in my head for that, but I cannot work on that much more, so I might just accept the PRs as they are. (If that sounds fine)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants