Leaflet Web Map
✓ Published0🌍 Public
Aandreaangeli
Last edited Apr 24, 2016
Created on Apr 24, 2016
This example displays an interactive web map centered on a specific location in Toronto, with a purple polygon overlaid to highlight a defined area. The map uses the Leaflet JavaScript library version 0.7.3, pulling base tiles from OpenStreetMap. The view initializes at latitude 43.64701, longitude -79.39425, with a zoom level of 15 and scroll-wheel zoom disabled. A polygon is drawn from a hardcoded array of three coordinate pairs using `L.polygon`, styled with a purple color and partial opacity. The map container is a fixed 960 by 500 pixel div.
AI-generated descriptionforked from <a href='http://bl.ocks.org/uafrazier/'>uafrazier</a>'s block: <a href='http://bl.ocks.org/uafrazier/6e09955642ac665f218c'>Leaflet Map with a Polygon</a>