yaph / d3-geomap

A library for creating geographical maps based on D3.js
https://d3-geomap.github.io/
MIT License
133 stars 45 forks source link

d3.geomap.dependencies.min.js Error #31

Closed perrygeo closed 9 years ago

perrygeo commented 9 years ago

I get this error in the console (chrome) when using the d3.geomap libraries. I've tried both with the 0.1 release and master, same deal.

d3.geomap.dependencies.min.js:1 Error: Invalid value for attribute transform="translate(0, 0"

any ideas?

yaph commented 9 years ago

I checked the console output of the example maps on the docs site http://d3-geomap.github.io/map/

This occurrs with choropleth maps and not with plain maps, so far I have no idea why this happens. Does it break your map in any way?

yaph commented 9 years ago

I looked a little deeper into the console output, looks like this is an issue in drawLegend().

yaph commented 9 years ago

Thanks for reporting!

perrygeo commented 9 years ago

@yaph - thanks! Awesome lib btw, great work.

The error didn't break the map in any way ... but it's nice to clear up the console errors anyways. I'll pull master and give it a shot.

yaph commented 9 years ago

Thanks and happy mapping!