-
-
Notifications
You must be signed in to change notification settings - Fork 76
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
HexBinLayer that Extends SVG #76
Comments
Hi, here 'HexBinLayer that Extends SVG' is basically a new renderer, so you have to only register renderer. |
Thanks, works for downloading to image, but the print option doesn't register the layer since the data isn't sent to the Hexbin layer class. |
Can you provide an full code example to see what's up with that? |
I'm not sure how it works internally, but you should use it only as a renderer, and not as both(renderer and layer). Therefore: try to remove registerLayer for HexbinLayer, and pass all needed data to it on PrintStart. And any working example to debug it would be helpfull :) |
Any suggestion on this one?
@Igor-Vladyka happy to submit a PR or separate request if needed. Thanks for the proj.
https://github.com/Asymmetrik/leaflet-d3/blob/master/src/js/hexbin/HexbinLayer.js#L20
The text was updated successfully, but these errors were encountered: