Skip to content

Shadrock/online-webmap-course

Repository files navigation

Online Webmap Course Materials

Need some (mostly) off-the-shelf activities for online teaching about web maps? This repository contains a series of open source activities that can be used to create 6-7 weeks worth of labs/lessons for web mapping and building basic web pages. By the end of these activities, students should:

  • have the good understanding of HTML, CSS, JS (specifically Leaflet and Mapbox GL), and Github pages to build and host basic web sites;
  • demonstrate proficiency creating a range of web maps with various forms of interactivity; and
  • feel confident navigating the building blocks of the Internet: hosting files, client/server relationships, and debugging.

Required Software / Web Applications

Although all of these activities can be done in-browser, I strongly encourage students to use a code editor (I recommend Atom) and Github desktop to work offline so they don't lose work due to connectivity issues. I recommend instructors survey their students before class to ensure their computing environment and connectivity won’t pose any problems (see this blog post with sample survey).

To complete these activities students will need:

One activity also references embedding ArcGIS Online maps from a previous lab of the full course: these are not included here. If you don't have access to AGOL, simply have students embed maps from other sources.

Contents & Delivery of Activities

There are six folders in this repository labeled according to the week in which they are delivered (e.g. studio-week1). I released each folder as a stand-alone Github repository that students would clone or fork into their personal Github account from which to work. Some folders contain starter code that creates a simple web site in which students will construct their maps. Later weeks require students to create files from scratch using the previous weeks as a starting point. This teaches students to navigate code and how to host a web site as they learn to build maps.

The instructions for each week are found in that week's README file, which combine instructions or links to online tutorials. All links work as of January 15, 2021 but should be periodically checked. In some cases, the referenced tutorials used outdated libraries or had small bugs. This was corrected by adding instructions to that week’s README file or by linking to additional sources to correct/update code. This accompanied online discussions about debugging code; good documentation; and the sustainability of web map projects.

Each week builds on the previous and, in order, students will learn to:

  • set up a basic web site and embed maps from other sources;
  • create slippy maps using Leaflet and Mapbox;
  • create custom basemap styles and web maps with increasing interactivity;
  • create maps from different data sources such as Google sheets; and
  • create increasingly interactive maps using OpenStreetMap data and Mapbox GL or Leaflet.

Some folders are accompanied by a “solutions” folder that includes examples of successful code. These are helpful as a reference point for instructors not familiar with coding but shouldn’t be given to students up front since all the tutorials cover ample code examples. Finally, there are a few background lectures that provide helpful background information including an incredibly brief overview about “how the Internet works” and “How web maps work.” Both were initially developed by Mapbox and I adapted them as lectures with in-class exercises to get everyone warmed up on the basics.

Philosophy of the Full Webmapping Course

It may be helpful to understand how these activities fit into the larger scheme of my semester-long class. I teach web mapping and GIS in the context of humanitarian affairs. This means that not all students will go on to become web developers or GISers and may instead become program officers in humanitarian organizations. The primary goal of my full course is to understand how the Internet works and how geography can be mediated by it through visualization. My courses include lectures, readings and discussions on software development, licensing, diversity and inclusivity, low-connectivity environments, the digital divide, and the structure of humanitarian programs. I also introduce students to critical GIS and the emerging “Digital Geographies” conversation (book here | AAG specialty group here). In preceding courses, I introduce activities about Human Centered Design and place a heavy emphasis understanding user needs. I challenge students to constantly, and critically, evaluate technology and ask who it is meant to serve, who it actually serves, and why.

During the first month or so of class students are taught to create web maps, layers, web applications, and online surveys using ArcGIS online. Because many of them are working in an ESRI environment, this is important for their ability to match industry standards, but also helps them gain confidence in web mapping without programming. The “studio” activities in this repo are a pivot to a “flipped class” model where I release materials to be reviewed before class, then we focus on working together during the class. I don’t lecture: we just work. The goal is maximum creativity and building things with open source tools. I try to create an environment based on the studio art classes I took as an undergraduate, where class time was devoted to exploring techniques, sharing your ongoing work with others, and spontaneous discussions about what’s working and what’s not.

Sample student work from the Fall 2020 Studio

Screenshots of student work

Sample student work from the Spring 2020 Studio

Screenshots of student work

Understand Student Access to Technology & Associated Risks

I watched professors and instructors from all disciplines transition to online teaching in response to the widespread lockdowns and university closures of the 2020 Coronavirus Pandemic with mixed emotions. While I was glad to see so many of them making an extremely valiant efforts, I was also disheartened to see how many of them assumed they would continue to deliver their classes online without any thought to how variable Internet access may be among their students. Nor did I see any of them really consider risks or threats to privacy that their students might be dealing with as a result of the switch to online learning. I wrote this blogpost to provide instructors with a background about why they needed to understand their student’s access to technology and supplied these draft survey questions and form that can be modified for this purpose.

Please familiarize yourself with the relevant national, state, and institutional policies that govern how student privacy should be protected online. In the U.S., the Family Educational Rights and Privacy Act (FERPA) is a great place to start. Two other great resources for you and your students are the toolkit for online surveillance self-defense from the Electronic Frontier Foundation and “Security in a Box” from the Tactical Technology Collective. I’ll update this repo with more resources for online safety and privacy as I find them.

References / Citations / Credits

These activities were created as part of my “Web Mapping and Open Source GIS” course at Clark University’s Department of International Development, Community, and Environment and were developed in collaboration with my fantastic course assistants Priyanka Verma and Andrew Hostetler. For most of the tutorials, we built off of the wonderful training materials from our good friends at Mapbox. These activities also build-on or reference great work by: Jakob Zhao (repo here); Maptime Boston (repo here), Jonathan McGlone (repo here), and Richard Hinton. Please contact me if you find materials where the credit is missing or that you would rather have removed.

The license for this repo is CC-BY-SA-4.0, so feel free to use or adapt all of this material in your class or training program! Please contribute via pull request or get in touch with me at shadrock.roberts@gmail.com.