Leaflet Web Map
✓ Published0🌍 Public
Aandreaangeli
Last edited Apr 24, 2016
Created on Apr 24, 2016
This example shows an interactive web map centered on a location in Toronto, with a red rectangle overlay marking a specific area. The map uses Leaflet 0.7.3, initializing a map object with a set view at latitude 43.64701, longitude -79.39425, and zoom level 15, while disabling scroll wheel zoom. It loads OpenStreetMap tiles as the base layer with attribution, and adds the rectangle via `L.rectangle()` with defined geographical bounds and basic styling. The map is rendered in a fixed-size div with a width of 960 pixels and height of 500 pixels.
AI-generated descriptionforked from <a href='http://bl.ocks.org/uafrazier/'>uafrazier</a>'s block: <a href='http://bl.ocks.org/uafrazier/bec76b7e288fd26bd297'>Leaflet Map with a Rectangle</a>