quickD3map icon indicating copy to clipboard operation
quickD3map copied to clipboard

Switch to Pre-Projected Canvas for faster Drawing

Open zachcp opened this issue 11 years ago • 0 comments

Mike Bostocks's gist is here: https://gist.github.com/mbostock/c1c0426d50ca8a9f4c97

My attempt is here: http://bl.ocks.org/zachcp/0d7d421b6f5eb45d4b72 the map is projected but when projecting the points I am experiencing issues with extent and with scaling and panning. I tweaked the values to get the initial value correctly but the panning/zooming and scaling are diferent for the base layer and the points (Grrrr.....)

I asked about this on D3.JS mailing list but will probably need to figure out how to align the layers/bounding box correctly (so the zoom extent values are the same) and then see if that fixes the scaling/translation issues. https://groups.google.com/forum/#!searchin/d3-js/stream$20zach/d3-js/cbGjtXepYQI/8YesPE7LHLoJ

zachcp avatar Aug 04 '14 13:08 zachcp