The main entrance to the Van Pelt-Dietrich Library Center is now open. Van Pelt Library and the Fisher Fine Arts Library are currently open to Penn Card holders, Penn affiliates, and certain visitors. See our Service Alerts for details.

Screenshot of the workshop exercise. on the left is the javascript code written to produce the map on the right, which shows colorful dots on a map of Philadelphia representing rainwater collection sites.

Leaflet.js is a lightweight, open source Javascript library that is widely used to create and share web mapping projects online. It is a great tool for creating an interactive map that can be embedded in a larger digital project. This workshop introduced the basics of setting up a Leaflet project and displaying a simple map with some data, using only a few lines of code. Because this involves a tiny bit of Javascript, Leaflet.js is suitable for folks who have some programming experience or are feeling adventurous about learning to code.

To view the recorded workshop and the full walkthrough of the exercise, visit here.