Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Leaflet + D3 Map

Public visualization

Viewing a saved revision (read-only)

856dfe4dd9b346218be11f3c8475095a

Fork of Leaflet + D3 Map

2 stars2🌍 Public
SSteve_Nashon
Last edited Oct 17, 2022
Created on Oct 15, 2022
Forked from Leaflet + D3 Map

This map visualization overlays hand-drawn vector features of Worli, Mumbai onto an Esri World Imagery basemap using Leaflet and D3. The code loads GeoJSON data from `lines.js` and `polygon.js` containing road lane polylines and pincode area polygons, rendering them as SVG paths. Geographic coordinates are converted to screen space via `d3.geoTransform` and Leaflet's `map.latLngToLayerPoint` method. Polygons update on zoom events through a zoom handler that recomputes their path geometry.

AI-generated description

Leaflet + D3 Map