You can import map features like lines, shapes, and places to your map from KML files, spreadsheets and other files.
Import map data to a layer
Import a file
Make sure your info is one of these file types:
- CSV
- TSV
- KML
- KMZ
- GPX
- XLSX
- Google Sheet
- One or more photos in Google Drive or Google Photos
Unzipped KML and KMZ files can be up to 5 MB.
CSV files and Google Sheet files both support WKT geometry format.
Other files can be up to 40 MB.
Unless the file is a photo, the first row should have titles. To import data properly, make sure you have a column with one of the following:
- Latitude-longitude information
- Addresses
- Place names
- WKT-formatted vector geometry objects
Do not import files with more than 2,000 rows. You can import up to 100 photos at a time.
CSV or Google Sheets support WKT columns named “WKT.”
- On your computer, sign in to My Maps.
- Open or create a map.
- In the map legend, click Add layer.
- Give the new layer a name.
- Under the new layer, click Import.
- Upload the file or photos that have your info. Then click Select.
- If you use WKT objects, click the checkbox for WKT to choose a column to position your placemark.
Tip: My Maps add map features automatically.
Learn about importing or modifying info problems
If you can’t import your info correctly:
- Check if the file is in the correct format.
- Allow
https://mymaps.google.com/
to open your Drive. Learn how to allow or block content settings for certain sites in Chrome. - Make sure your column with WKT data is properly labeled as “WKT” only.
KML files may not import all their data. The data includes:
- Info balloons with HTML or JavaScript
- KML tours
- Time-based elements
- Image and screen overlays
- MultiGeometries
- 3D models
- Folders
You may have trouble modifying your WKT column after you import it.
- WKT columns are geometries on import. They're no longer text-based.
- To edit them, you can use the standard geometry editing tools. You can’t edit them in the table editor the same way an address column can.