Visualize your data on a custom map using Google My Maps
As of September 2014, the new My Maps (previously Google Maps Engine Lite) debuted. Please read this announcement for more information on the new My Maps and how to upgrade your classic My Maps.
Google My Maps lets you quickly and easily
make custom maps, and share them with friends or colleagues. Whether you’d like to
visualize protected forest areas, food drive drop-off areas, or the locations of your
project sites, this tool gives you the ability to:
- draw and style points of interest, lines and shapes
- import data from Google Drive spreadsheets, or as CSV files, Excel files and KML files
- share your map with colleagues and embed it on your website
The above map was created by The MAPA Project, and features the locations of Shark Spotters along the False Bay coastline in South Africa, as well as all reported white shark sightings between September 8, 2012, and February 22, 2013. In the tutorial below, we’ll teach you how to make this map.
- No programming skills needed!
- You will need a Google Account to log in to Google My Maps. Don’t have one? Sign up here.
Let's get started!
In this exercise, we’ll teach you how to import your data, customize the style of your map, and share your map. We’ll be using a dataset courtesy of The MAPA Project and Shark Spotters, featuring the locations of Shark Spotters — trained observers watching the water for sharks — along the False Bay coastline in South Africa, as well as all reported white shark sightings between September 8, 2012, and February 22, 2013. Your finished map will look like the example above.
- Download the two files below, which you will use as sample datasets during this
tutorial, and save the files to your desktop:
- sharksightings.csv: This file contains reported white shark sightings between September 8, 2012, and February 22, 2013. Includes beach site, date, time and location.
- sharkspotter-beaches.csv: This file contains the beach locations where Shark Spotters are stationed, whether it’s a permanent or temporary Shark Spotter location, and a short description.
Import your data
- Log in to your Google account
- Go to Google My Maps: http://www.google.com/maps/d/
- In the welcome pop-up, select Create a new map:
- Click the text Untitled map to edit the map title and description. In this
case, we’ve supplied some text below for you to copy and paste into the Map
title dialog box:
Shark Spotter Sites & Sightings
- Now copy and paste the text below into the Description dialog box:
This map shows the location of Shark Spotters along the False Bay coastline in South Africa, as well as all reported white shark sightings between September 8, 2012, and February 22, 2013. Shark Spotters are positioned at strategic points along the Cape Peninsula. A spotter is placed on the mountain with polarised sunglasses and binoculars. This spotter is in radio contact with another spotter on the beach. If a shark is seen along the beach, the spotter sounds a siren and raises a specific color-coded flag, upon which swimmers are requested to leave the water.
- In the menu, select Import:
- Select the sharksightings.csv from your desktop. This will be the first
data layer we upload.
Tip: You can also import a XLSX file or a Google Spreadsheet. You’ll only be able to upload a table containing up to 100 rows. If you try to upload more than 100 rows, you’ll receive a notification upon upload.
- After uploading your data, you’ll be asked to select the column(s) with location
information, so that your data will be correctly placed on the map (e.g. columns with
latitude and longitude information). For this example, select the Lat and
Long columns, and hit Continue. You can hover over the question marks
to see sample data from that column.
Tip: If you don’t have latitude and longitude information, you can use addresses in your columns instead.
- Now pick the column you’d like to use to title your markers. For this example,
select the Date column and hit Finish:
- You should now see your data as a layer in the menu, and your points plotted on the
map. If you’d like to change the name of this layer in the menu, just select the text
of the layer name (the default will be the file name). For this example, change the
layer name to Sightings: 9/8/2012 to 2/22/2013.
- Now let’s upload the second data layer. Click Add layer.
Repeat steps 6 through 9 using the sharkspotter-beaches.csv from your desktop. Select the Lat and Long columns for your location column, and select the Beach Name column to title your markers.
- You should now see both layers visible in your menu and plotted on your map. Select
the text of the layer title, and change the name to Shark Spotter Beaches.
Next, you’ll learn how to style the points on your map.
Style your map
Customize the points on your map
Start by customizing the Sightings layer, changing the default red pin to a green fish icon.
- Go to the Sightings map layer in the menu.
- Hover your cursor over the text All items (69). You should see a paint can
icon appear on the right. Select the paint can.
- Selecting the paint can will pull up a menu of icon choices, including colors and
- Select More icons to see several icon shapes you can choose.
- Under More icons, select the green icon . Now your red pins should be
green fish on the map.
Next, customize the points in the Shark Spotter Beaches data layer. Here you’ll bucket the points into two categories, Permanent Shark Spotter beaches and Temporary Shark Spotter Beaches — information that is already associated with each location in the CSV — and use two different map icons.
- Click the Shark Spotter Beaches layer in the menu and select Style.
- Use the drop-down menu to select Style by data column: Type, then choose
- Hover your cursor over the text Permanent, and select the gray paint can
icon that pops up.
Under More icons, select the orange icon . You should now see those icons on your map.
- Hover your cursor over the text Temporary, and select the gray paint can
icon that pops up. Under More icons, select the blue icon . You
should now see those icons on your map:
Change the style of your base map
- In the map menu, go to the Base map layer.
- Select the carat icon to open a menu of base map styles.
- Select a thumbnail to change the base map style. For this example, select the
thumbnail in the bottom left for Light Landmass.
- Click anywhere on the map to collapse the base map menu.
Edit your map data
You can easily make changes to your map data at any point in the map-making process. You may want to do this if you notice a typo or want to add extra information to your info windows. Below you’ll learn how to edit your map data.
You’ve noticed a typo in the Muizenberg data in the Shark Spotter Beaches layer. Shark Spotters is misspelled as “Shakspotters”.
To edit the data:
- Click the pencil icon in the info window. You can edit the data directly from
the info window.
- Alternately, you can make changes to your data from within the Data table view. In
the Shark Spotter Beaches layer in the menu, click on Data and the
Data table view will appear:
- You can make changes to your data by clicking on any field in the table view:
The table and infowindows for your map locations are synchronized, so any changes you make will be reflected in both places. You can also add rows to your table if you want to display additional information, or delete an existing row.
Tip: If you change the content within a location column, it will automatically attempt to correct the location according to your changes on the map.
Label your data
You can make labels or “titles” appear next to the features on your map using the Label feature. The label of your feature will be taken from a column in your data that you specify.
- In the Shark Spotter Beaches layer in the menu, click on
- From the drop-down menu, select Beach Name:
- Now you should see the points in your Shark Spotter Beaches data labeled
with its corresponding Beach Name:
Share and embed your map
You have many options when you want to share your map with others. All maps are private by default — only you as the creator of the map can view or edit it. Below you’ll learn how to make the map public and embed it on your website, as well as how to collaborate on your map with colleagues.
To share a link to the map:
- Click the green Share button at the top right of your map.
- Under "Who has access", select Change and you’ll be given options to
either leave the map "Specific people" (or private), "Anyone with the link" or "Public
on the web".
If you choose to make your map Public on the web, you’ll be able to further refine your share settings to make your map either just viewable or editable by the public.
Tip: Sharing your map with a person who has a non-Google account? Copy the map URL and change the word “edit” in the URL to “view” before sending -- then no login will be required.
Collaborate with colleagues:
- Click the green Share button.
- Under “Add people” at the bottom of the menu, type in the e-mail addresses of the
people you’d like to share your map with directly, or choose from your contacts. You
can select whether the people you invite can edit the map or just view it.
Tip: You can quickly add multiple collaborators to your map by sharing your map with a Google Group. Each member of group will have access to your map, and if you add new people to the group, they’ll have access too.
Embed your map:
- First, make sure your map is Public on the web. Share button > Who has access > Change > Public on the web > Save.
- Go back to your map and select the folder icon under the map’s description.
- Select Embed on my site.
- Copy the HTML and paste it into the source code of your website. Note that you can
customize the height and width of your map.
Congratulations! You have learned how to import data, customize styles and share your map using Google My Maps.
More with Google My Maps
Search and filter your data:
On the Sightings: 9/8/2012 to 2/22/2013 layer, click Data to view its data table.
Use the search box to search and filter through this data.
Add points, lines, polygons and directions to your map:
Hand-draw points, lines and polygons on your map with the drawing tools. Click the hand icon to stop drawing. You can also save driving, bicycling or walking directions to the map. Use the ruler icon to measure distances and areas.
Take your maps on the go with the My Maps Android app
View and edit your My Maps from your Android mobile device. Download the My Maps app from Google Play.
Discussion & Feedback
Have questions about this tutorial? Want to give us some feedback? Visit the Google Earth Outreach Discussion Group to discuss it with others.