- This event has passed.
Introduction to web mapping with Leaflet
March 6, 2023 @ 10:00 am - 12:00 pmFree
The past decade has witnessed some revolutionary technologies that have paved the way for web maps and location-aware applications we see today: Google Maps, OpenStreetMap, and many other websites and services that include interactive maps. These applications have become so ubiquitous that we almost take them for granted.
This workshop will first give an introduction to web maps, including the differences between digital maps and web maps, their structure, and how they work. The second part of the workshop will be a short hands-on session where we will create our own web map showing UBC campus buildings – with clickable with popups – using Leaflet.js.
Intro to Web Maps:
- Why web maps?
- Web map vs digital map
- Map tiles
- Structure of a web map
Hands on with Leaflet.js:
- Intro to using your source code editor
- Examine the map “boilerplate”
- Configure the load location and zoom level
- Change base layer
- Add building data
- Examine building data attributes
- Configure a popup
Things to do before arriving:
This event will be held in person in the Research Commons’ Presentation Room (548/552) in Walter C. Koerner Library.