block by curran d0a49f5ef93acd8f220d505d186a6172

Raster & Vector II

Full Screen

Using d3-tile to display raster image tiles underneath some TopoJSON vectors, and d3-zoom for pan & zoom. This version reprojects the geometry on interaction; compare to updating the transform. See another variation of this example with points, showing the U.S. State Capitals; also see the static version.

Tiles copyright OpenStreetMap contributors.

forked from mbostock‘s block: Raster & Vector II

index.html