Skip to main content
100%

Vector Tiles

✓ Published0🌍 Public
Mmbostock
Last edited Mar 9, 2019
Created on May 16, 2013

This interactive map displays vector tiles of road networks from OpenStreetMap, rendered as SVG paths. It uses Mapzen’s vector tile API to load road data, and d3.geoMercator’s projection with a d3.tile-based tile system to fetch and display 256×256 tiles. The visualization supports pan and zoom via d3.zoom, with a matrix3d transform for scaling and translation. Mouse movement updates a location readout showing latitude and longitude, computed by inverting the projection.

AI-generated description

Adapting d3-tile to show Mapzen vector tiles. See also the static example.

Map tiles © OpenStreetMap contributors, Who’s On First.

gpl-3.0 Licensed

Similar vizzes