Skip to main content
100%

Leaflet.js × D3.js × geojson-vt.js - Clickeble Canvas Tiles Map

✓ Published0🌍 Public
HHirosaji
Last edited Feb 25, 2020
Created on Oct 28, 2018

This interactive map displays Japanese municipal boundaries using vector tiles rendered onto Canvas elements within a Leaflet.js map. The visualization employs geojson-vt.js to convert GeoJSON data into tile-based vector features, which are then drawn using D3.js for click interaction handling. Each polygon is rendered with a unique picking color, enabling feature identification through Canvas `getImageData` pixel inspection on mouse events. The map supports zoom-dependent styling with adjustable line widths and dash patterns, showing prefectural city data including Sendai and Ora-machi boundaries.

AI-generated description
mit Licensed

Similar vizzes