block by emeeks 37dd76398240ab29abd8

Canvas Layers - d3.carto.map

Full Screen

Drawing d3.carto.map layers to canvas is simple, just set the renderMode to “canvas” instead of “svg”. This example shows the various map modes with canvas drawing of vector layers.

Click the button to cycle through map modes to see the difference between Transform, Projection and Globe modes.

Undersea cable geodata and armadillo projection inspiration from Peter Bakkum’s example. Stamen watercolor map from http://maps.stamen.com/#toner/12/37.7706/-122.3782.

index.html

d3map.css

example.css