Coding Interactive Maps

Suggested Pre-Work for this Module

Social Studies: Students will discuss and code several different types of maps. To build a base understanding together you might consider reading one of these books about maps: Maps by Aleksandra and Daniel Mizielinski, The Once Upon a Time Map Book by BG Hennessy, or City Atlas: Travel the World with 30 City Maps by Georgia Cherry.

Additionally, it may be beneficial to spend some time building interactive maps with hands on materials in your classroom: fill a bucket with colored strips of felt to represent roads, rivers, houses and more. Let students build and play in an imaginary town. Or after a shared experience (ie recess or field trip) create a topographical map using play-dough or salt dough.

Computer Science: In this module students will be working a lot with sprites including changing the location and size of them and initiating behaviors. CSFundamentals Course F Lesson 3 is a great introduction to two concepts at the heart of this all: sprites and behaviors.

New to teaching Computer Science?

Get started with our self-paced Professional Learning.

Make all lessons in this Unit visible or hidden for your students.

Lesson 1: Mapmaking Introduction

In this skill-building lesson, students will learn to create and animate sprites on a map.

This lesson serves two main purposes: (1) to offer an example of coding an interactive map and (2) to introduce students to coding in Sprite Lab. Sprite Lab is an open-ended coding environment that uses block-based code. Students will learn the basics of Sprite Lab throughout this lesson to plan and build their interactive map in the following lessons.

In this integrated lesson, students learn social studies concepts by creating a map with code. To begin, students will examine several examples of maps and discuss what features make up the map. In the wrap-up, students will discuss the role of a map maker.

Note: The maps and images will not be a perfect fit in all cases. Fortunately, there is a Sprite Upload tool and access to the Animation Library students can use in the freeplay levels that allow for customization.

Lesson 2: Planning My Map

In this unplugged lesson, students will create a project plan for their tour guide app. Creating a plan is an important first step before starting to code. Educators are encouraged to customize this project to fit within the context of topics or standards currently being taught. See below for suggestions.

Suggestions:

  • Students can map a local area such as their home, classroom, or school.
  • Students can create a tour of a state they are studying in class.
  • The instructor can link the mapping project to another area of study or research, like Ancient civilizations.
Lesson 3: Coding My Map

In this lesson, students use their project plans from the previous class to create their interactive map. Students may be at varying stages of their plan.

Once students move to computers, they will follow a level progression that walks them through the process of setting a background, creating a tour guide, making it say “Welcome,” making it move, and adding at least 2 landmarks that trigger the tour guide to say something when touched.

Note that this is a project progression, meaning student code will follow them from one level to the next. Encourage students to press “Run” on each level to save their code before progressing to the next level.

The lesson ends in a quick gallery walk in preparation of the next lesson, where students share their projects with the class.

Lesson 4: Map Share Out

This is the final lesson in this module and is meant to celebrate all the hard work so far. Students will complete a personal reflection on their final project. Then, the whole class will present their project to their peers. Before the presentations begin, you will discuss tips for an effective presentation, including audience expectations.

Level TypeLevel DetailsLevel Status
Not startedIn progress
Completed
Assessments / Surveys
Concept
Text
Video
Map
Concept: Not started
Concept: In progress
Concept: Completed (perfect)
N/A
Activity
Unplugged
Lesson Extras
Online
Assessment
Question
Choice level
Activity: Not started
Activity: In progress
Activity: Completed (perfect)
Activity: Submitted