leaflet - Images on Map (using D3.js)
✓ Published0🌍 Public
HHirosaji
Last edited Sep 13, 2018
Created on Jul 21, 2018
This example overlays the locations of hot springs in Hokkaido, Japan, onto an interactive Leaflet map. It loads point data from a GeoJSON file and renders each location as an SVG icon, with a tooltip that displays the hot spring name on hover. The code combines a Leaflet tile map with D3.js selections and its `latLngToLayerPoint` method to position icons dynamically during pan and zoom. The map is initialized with a Mapbox tile layer and the icon is a custom SVG file.
AI-generated description▶︎ Data source: https://github.com/nabe8726/Hokkaidohackathon_2015Oct
▷ Another version: Leaflet plugin cluster ver. - https://bl.ocks.org/Hirosaji/7c710df82bca6eda2cdc6f73f406c1c6
Built with blockbuilder.org
mit Licensed