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

featuresat with continuous zoom #63

Open
rishabhjain30 opened this issue May 12, 2016 · 4 comments
Open

featuresat with continuous zoom #63

rishabhjain30 opened this issue May 12, 2016 · 4 comments

Comments

@rishabhjain30
Copy link

rishabhjain30 commented May 12, 2016

I added continuous zoom to leaflet using this Leaflet/Leaflet#1941.

It changes tilesize to get tiles decimal zoom levels. Now, I changed the tilesize in _getTilePoint function to get the correct tile. But inside that tile featureAt still doesn't work correctly.

It's probably because of _canvasIDToFeatures not returning the correct features at decimal zoom levels.

Need help solving this. @apollolm @hallahan @rgwozdz

@hallahan
Copy link
Contributor

Hi @rishabhjain30. We haven't considered supporting leaflet 1.0, as it is still in beta. I've seen Tangram work well with Mapbox Vector Tiles with Leaflet 1.0. Have you considered using that?

@lesserj
Copy link

lesserj commented May 16, 2016

@rishabhjain30 @hallahan Another option is https://github.com/IvanSanchez/Leaflet.VectorGrid. This was built recently by one of the Leaflet devs @IvanSanchez to render vector tiles on Leaflet 1.0.

@rishabhjain30
Copy link
Author

@hallahan @lesserj Thanks
But is there any way to make featureat work wirh decimal zooms using the above mention pull request?

@rishabhjain30
Copy link
Author

@hallahan any updates on this?

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

No branches or pull requests

3 participants