dc-js / dc.leaflet.js

DC charts using Leaflet maps
Apache License 2.0
52 stars 24 forks source link

Fix maps not rendering properly due to improperly set div.dc-leaflet width and height #6

Closed tayden closed 8 years ago

tayden commented 8 years ago

Fix issue with declaring width and heights of div.dc-leaflet where Leaflet map is rendered that caused the map to render improperly. Also updated demo so that it is working again.

Resolves #5

tayden commented 8 years ago

Leaflet maps are added to page multiple time due to this fix, so resubmitting new pull request.

gordonwoodhull commented 8 years ago

Yeah, I think only the px part was relevant to this fix, although the css formatting is appreciated too.

gordonwoodhull commented 8 years ago

Thanks! For future reference, you can continue to push to the same branch to update a pull request.

tayden commented 8 years ago

Awesome. Thanks! I'm new to this..