Example web map code & slides for a Leaflet/OSM workshop I'm helping to lead at GIS in Action 2013 (and have co-led in the past at NACIS 2012)
Presentation slides at http://pdxmele.com/leaflet-osm-workshop/slides.pdf
HTML & JS versions ready to start tutorial with, built from code by Wm Leler at http://pdxmele.com/leaflet-osm-workshop/osmLeaf.html
Completed exercise version (DON'T PEEK!!): http://pdxmele.com/leaflet-osm-workshop/complete/osmLeaf.html
###Supplemental Mac instructions:
If you're trying to run these html files locally with Safari, unchanged from the download, you may need to do this first in Terminal:
cd complete/
xattr -dr com.apple.quarantine .
If you're trying to run them locally on Chrome, you'll need to close Chrome and reopen it from Terminal with:
open -a "Google Chrome" --args --allow-file-access-from-files
###Other notes:
Includes dists of Leaflet and jQuery, the use of which is subject to their own licenses.
If you like this, please consider donating on Gittip: https://www.gittip.com/pdxmele/