block by emeeks a726210cbc439b969f02

d3.carto.minimap - d3.carto.map

Full Screen

Using d3.carto.minimap with d3.carto.map.

Drag the main map around and zoom in and zoom out to see the bounds change in the minimap.

The minimap creates its own d3.carto.map and, with minimap.tandem() will take the layers from the main map and recreate them in the minimap.

index.html

d3map.css

example.css