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
Upgrade to My Maps Pro to display more points and layers; add custom icons; and manage and communicate with mobile teams using Maps Coordinate.

Shark Spotter Map

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.

Prerequisites

  • 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.

  1. 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

  1. Log in to your Google account
  2. Go to Google My Maps: http://www.google.com/maps/d/
  3. In the welcome pop-up, select Create a new map:
    New Map
  4. 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

  5. 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.

  6. In the menu, select Import:
    Import Map
  7. 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.


  8. 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.


    Select Location Column
  9. Now pick the column you’d like to use to title your markers. For this example, select the Date column and hit Finish:
    Select Label Column
  10. 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.
    Change Layer Name
  11. Now let’s upload the second data layer. Click Add layer.
    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.

  12. 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.
    Change Layer Name

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.

  1. Go to the Sightings map layer in the menu.
  2. Hover your cursor over the text All items (69). You should see a paint can icon appear on the right. Select the paint can.
    Select Paint Can
  3. Selecting the paint can will pull up a menu of icon choices, including colors and shapes.
    Icon Menu
  4. Select More icons to see several icon shapes you can choose.
    All Icons
  5. Under More icons, select the green icon . Now your red pins should be green fish on the map.
    Green Fish Icons

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.

  1. Click the Shark Spotter Beaches layer in the menu and select Style.
  2. Use the drop-down menu to select Style by data column: Type, then choose Categories.
    Style by Data Column
  3. Hover your cursor over the text Permanent, and select the gray paint can icon that pops up.
    Categories

    Under More icons, select the orange icon . You should now see those icons on your map.


    Permanent Icons
  4. 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:
    Temporary Icons

Change the style of your base map

  1. In the map menu, go to the Base map layer.
  2. Select the carat icon to open a menu of base map styles.
  3. Select a thumbnail to change the base map style. For this example, select the thumbnail in the bottom left for Light Landmass.
    Base Maps
  4. 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”.

Typo

To edit the data:

  1. Click the pencil icon in the info window. You can edit the data directly from the info window.
    Edit in Info Window
  2. 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:
    Show Data Table
  3. You can make changes to your data by clicking on any field in the table view:

Edit in Data Table

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.

  1. In the Shark Spotter Beaches layer in the menu, click on Labels:
    Labels
  2. From the drop-down menu, select Beach Name:
    Select Beach Name
  3. Now you should see the points in your Shark Spotter Beaches data labeled with its corresponding Beach Name:
    Labeled Beaches


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:

  1. Click the green Share button at the top right of your map.
  2. 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".
    Share Map

    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.

    Share Map

    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:

  1. Click the green Share button.
  2. 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.
    Add Collaborators

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:

  1. First, make sure your map is Public on the web. Share button > Who has access > Change > Public on the web > Save.
  2. Go back to your map and select the folder icon under the map’s description.
  3. Select Embed on my site.
  4. 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.
    Get Embed Code

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.

View Data Table

Use the search box to search and filter through this data.

Search Data Table

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.

Hand Drawing

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.

Hand Drawing



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.



What's next?