-
Notifications
You must be signed in to change notification settings - Fork 88
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
Maps not initializing / rendering #1
Comments
Does reverting to the older versions of dc help? I have tried with both dc-master and dc-stable and I can't get it to work either. It's strange because I get the map to render when it's the only chart object. But when I add more, it stops rendering without any errors in the console. edit: |
I made my example work with the latest version and pushed a branch to my repo. @dgorissen you can try and checkout the dc-2.0.0-alpha branch from https://github.com/monostop/dc.leaflet.js/tree/dc-2.0.0-alpha.2 and see if it works for you. |
Sorry for the late response. Was on a long trip. I tested it only with 1.7.0. Haven't gotten around adapting/testing with the latest versions. Will fix up some stuff on the code and will start working on versioning. Not sure why it wouldn't work though. I don't use any special features of dc. Unless the model changed on 2.0.0 somehow. Will take a look |
I had the same problem and @monostop fix works perfect. +1 for merging it into main dc.leaflet.js repository |
Yes, there was a fair amount of interface drift in dc.js between 1.7 and 2.0. https://github.com/dc-js/dc.leaflet.js is compatible with dc.js 2.0 |
Thanks for releasing this. Im using this with the latest dc version (2.0 alpha 2) and maybe thats the problem but I am unable to get the marker chart to actually render/show. dc.renderAll() triggers all other charts execept the leaflet ones.
Invoking render() / draw() directly on the chart object has no effect either. Added various breakpoints to the code but those are never hit.
The text was updated successfully, but these errors were encountered: