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

Maps not initializing / rendering #1

Open
dgorissen opened this issue Aug 11, 2014 · 5 comments
Open

Maps not initializing / rendering #1

dgorissen opened this issue Aug 11, 2014 · 5 comments

Comments

@dgorissen
Copy link

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.

@monostop
Copy link

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:
Forget this comment. My problem was based on a bootstrap3 layout and I fixed it with some css.

@monostop
Copy link

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.

@yurukov
Copy link
Owner

yurukov commented Sep 5, 2014

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

@pbadenski
Copy link

I had the same problem and @monostop fix works perfect. +1 for merging it into main dc.leaflet.js repository

gordonwoodhull added a commit to dc-js/dc.leaflet.js that referenced this issue Jul 24, 2015
@gordonwoodhull
Copy link

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

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

5 participants