Simple Leaflet Map
✓ Published0🌍 Public
Dd3noob
Last edited Apr 20, 2014
Created on Dec 7, 2013
A simple interactive map centered on London demonstrates core Leaflet capabilities. The map displays OpenStreetMap tiles and includes a marker with a popup, a red circle, and a polygon, each bound to popups. Clicking anywhere on the map generates a popup showing the clicked latitude and longitude. The example uses the Leaflet JavaScript library and its `L.map`, `L.tileLayer`, `L.marker`, `L.circle`, `L.polygon`, and `L.popup` APIs to build the visualization.
AI-generated descriptionCreated to test the JavaScript code in response to a question asked on Google Groups