Story Maps

Using Maps to Craft User Interfaces

April 19th, 2016
Athens, GA

Slides: bit.ly/1SpWDgC

Photograph of Roy Hewitt

Roy Hewitt

Job: Regional Web Developer

Background: Biology, GIS

Agenda

  1. What is a Story Map?
  2. Path to Story Map Mastery
  3. Our approach in the Southeast
  4. Challenges
  5. Examples
  6. Resources

What is a Story Map?

“Story maps use geography as a means of organizing and presenting information. They tell the story of a place, event, issue, trend, or pattern in a geographic context. They combine interactive maps with other rich content—text, photos, video, and audio—within user experiences that are basic and intuitive.”
— ESRI, emphasis is mine.

Why Build a Story Map?

  • Where matters; nothing happens in a vacuum
  • Wrap an analysis in context for lay audiences
  • Let your audience explore your data on their own terms
  • Engage new audiences
Marshmallow in a vacuum

Marshmallow in a vacuum

What Makes a Good Story Map?

  • Know your audience
  • Write in plain language
  • Know what’s important
  • A good user experience

Hack your Maps

“Have you ever taken apart a map? Worked with a map as a critical part of your design?” - Young Hahn, ‘Hack Your Maps’

Know What's Important

If you're making a story map to share photos from a trip ensure the size of the photos is relative to their importance. It doesn't make sense to have a full screen map with tiny thumbnail images.

User Experience

User experience (UX) focuses on having a deep understanding of users, what they need, what they value, their abilities, and also their limitations. —usability.gov

It better be Easy

A frustrated man puts his head down on the desk

Poor UX

Having scroll-to-zoom enabled on a scroll driven page

Animated gif of what happens when you accidentally scroll a map just by browsing the page Animated gif showing the proper result

Small click targets

Will your map work on a mobile phone?

Photo: Melina Sampaio Manfrinatti CC BY-SA 2.0

How do you hover with your finger?

Will your map work on a mobile phone?

Photo: Kārlis Dambrāns CC BY 2.0

Reinventing GIS in the Browser

Title from Brian Timoney's Blog post Tool bar of confusing icons

An Iconography of Confusion: Why Map Portals Don't Work, Part IV, Brian Timoney

Always show a Loading state

Find the nearest Maptime chapter

User clicks the button, but there's no indication that the application is working.

The Path to Story Map Mastery

  1. Pre-built templates with point and click interface
  2. Customize upon open source templates
  3. Code your story maps from scratch
Mario jumping for a power-up

Photo: Mario! CC BY-SA 2.0

Pre-built Templates

A banner from the ESRI website asking what kind of story do you want to tell

ESRI provides a series of pre-built templates that you can fill with your own content

Open Source Templates

Results from searching 'Story' on ESRI's GitHub page

ESRI provides about a dozen open source templates on their GitHub page. This option allows you to dive into the code and change anything and everything.

Coding your Maps from Scratch

Animated gif of career.royhewitt.com

Highest level of difficulty, but limitless options for creativity.

How we craft Story Maps Spatial User Interfaces in the Southeast

We start from scratch!

Data Creation/Collection

Weather web mapping service from NOAA

WMS example on mapbox.com

Google Spreadsheets

Tabular data in a Google Spreadsheet

Collaborate on application data as a spreadsheet. When you're ready to use the data download as a CSV file.

geojson.io

Animated gif showing how to create a data point using geojson.io

geojson.io is a great tool if you need to create point line or polygon features including attribute data directly on a map

How to Handle Data

Generally you can make your data available as a service (WMS, WFS, etc.) or as a text file (geojson, geobuf, csv).

Feature Data

Lends itself towards text files. Easy to maintain, store right along side your project. User interactions (clicks, scrolls, etc.) can give you all of the associated attribute data to use in pop-ups, infowindows, banners.

National wildlife refuge logo as a map icon

Rasters

Lends itself to web services. This is a great option if the product of your analysis is a continuous surface and you're less interested in click interactions. Use ScienceBase or ArcGIS Online to create these services.

Data Analysis with Turf.js

Turf.js

Handling User Input

Clicking on a marker is not the only, or even the best way to interact with map date.

Auto-complete input FTW!

An animated gif of the Southeast Region's map of offices

How about a small thumbnail gallery to preivew the content before you click?

Click on a project's thumbnail image rather than map icon

Get the user's location with the Geolocation API in HTML 5 (with user's permission)

Find the nearest ten offices based on the user's current location Find the nearest Maptime chapter

Good/Bad UX: Always give your user a hint when the application is loading/processing.

Manage a Specie's state range in the At-Risk Species Finder

Use a map to manage the state range for a species in the database

Internally the range is managed as a list of states. The map gives a handy UI to add/remove states from the list.

Filter a list using a map.

Filter a list using a map

Filter large datasets on pan/zoom

Yelp.com's map automatically refilters the list when you pan or zoom

Zoom to a location to give a sense of distance and direction (don't over do it!)

Show supplemental information on click

Clip and Ship: Allow user to identify AOI, download data.

Let the user draw an AOI, download data within that AOI

Challenges

Can't Ignore Mobile

According to SimilarWeb’s State of Mobile Web US 2015 report, roughly 56 percent of consumer traffic to the leading US websites is now from mobile devices.

Graph of mobile internet users vs desktop users

Graph: Wikimedia Commons, CC BY-SA 3.0

Responsive Web Design

Adapting web content based on the available screen realestate for phones, widescreens and everything in between through fluid layouts.

The same site on several devices of different sizes

Photo: Responsive design CC BY-SA 2.0

Accessibility

How do non-sighted, motor impaired users navigate?

Use of tab index, Accessible Rich Internet Applications (ARIA)

Paralympian races in a wheelchair

Photo: Australian Paralympic Committee CC BY-SA 3.0

Performance

Forget the kitchen sink. 1 out of 4 customers will abandon a webpage that takes more than 4 seconds to load. - emarketer

Everything but the kitchen sink

Photo: Everything but the kitchen sink. CC BY-NC-ND 2.0

Examples!

Many of these are a work-in-progress!

Southeast Region Mega Map

Map of Southeast Region Offices, Refuges

Mega map is a one-stop shop for finding USFWS offices in the Southeast Region

Southeast Conservation Adaptation Strategy (SECAS)

Story map of the SECAS strategy projects

The SECAS Story Map lets the user explore conservation projects related to the strategy

Rio Loco/Guanica Bay

Restoration work in the Rio loco/Guanica bay watershed

The Rio Loco/Guanica Bay Watershed Partnership Initiative lets the user explore several restoration efforts, the partners involved and their monetary contributions.

Resources!

You don't have to do everything on your own.

Technological Resources

Your Regional External Affairs Digital Team!

Pitch us your story!

  • Roy Hewitt: Web Development
  • Katherine Taylor: Social Media
  • Jennifer Strickland: Content Development/Storytelling

Online Resources

Questions?

Roy_Hewitt@fws.gov



Slides: http://bit.ly/1SpWDgC