block by thomasgwatson 72953c94d89df97081a5

Raster & Vector II + topo

Full Screen

Using d3.geo.tile to display raster image tiles underneath some TopoJSON vectors, and d3.behavior.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 + topo

forked from anonymous‘s block: Raster & Vector II + topo

index.html

d3.geo.tile.min.js