Skip to main content
100%

Vector Tiles - fixed

✓ Published0🌍 Public
Aamortka
Last edited Jul 5, 2017
Created on Jul 5, 2017

This example renders interactive vector tile maps using Mapzen vector tiles, displayed as SVG paths over a dark background. It uses d3.tile to manage tile loading and d3.zoom for pan and zoom interactions, with a d3.geoMercator projection and d3.geoPath to draw geographic features. The visualization shows roads, water, buildings, parks, and other land-use layers, each styled with distinct colors and stroke widths. Tile data is fetched as GeoJSON from Mapzen’s tile server and rendered dynamically, with a coordinate readout displayed at the bottom.

AI-generated description

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

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

forked from <a href='http://bl.ocks.org/mbostock/'>mbostock</a>'s block: <a href='http://bl.ocks.org/mbostock/5593150'>Vector Tiles</a>

mit Licensed

Similar vizzes