

# Creating maps and geospatial charts


You can create two types of maps in Quick: point maps and filled maps. *Point maps* show the difference between data values for each location by size. *Filled maps* show the difference between data values for each location by varying shades of color.

**Important**  
Geospatial charts in Quick currently aren't supported in some Amazon Web Services Regions, including in China.   
For help with geospatial issues, see [Geospatial troubleshooting](geospatial-troubleshooting.md).

Before you get started creating maps, do the following:
+ Make sure that your dataset contains location data. *Location data* is data that corresponds to latitudinal and longitudinal values. Location data can include a column for latitude and a column for longitude in your dataset. It can also include a column with city names. Quick can chart latitude and longitude coordinates. It also recognizes geographic components such as country, state or region, county or district, city, and ZIP code or postal code.
+ Make sure that your location data fields are marked as geospatial data types.
+ Consider creating geographic hierarchies.

For more information about working with geospatial data, including changing field data types and creating geospatial hierarchies, see [Adding geospatial data](geospatial-data-prep.md).

To learn more about creating maps in Quick, see the following.

**Topics**
+ [

# Creating point maps
](point-maps.md)
+ [

# Creating filled maps
](filled-maps.md)
+ [

# Interacting with maps
](maps-interacting.md)

# Creating point maps


You can create point maps in Quick to show the difference between data values for each location by size. Each point on this type of map corresponds to a geographic location in your data, such as a country, state or province, or city. The size of the points on the map represents the magnitude of the field in the **Size** field well, in relation to other values in the same field. The color of the points represents the values in the **Color** field well. The field values in the **Color** field well display in the legend, if you choose a field for color.

Use the following procedure to create a point map in Quick.

To create point maps in Quick, make sure that you have the following:
+ One geospatial field (such as country, state or region, county or district, city, or ZIP code or postal code). Or you can use one latitude field and one longitude field.
+ One numeric field (measure) for size.
+ (Optional) A categorical field (dimension) for color.

For information on formatting geospatial maps, see [Map and geospatial chart formatting options](https://docs.amazonaws.cn/quicksight/latest/user/geospatial-formatting).

## Creating point maps


**To create a point map**

1. Add a new visual to your analysis. For more information about starting analyses, see [Starting an analysis in Quick Sight](creating-an-analysis.md). For more information about adding visuals to analyses, see [Adding a visual](creating-a-visual.md#create-a-visual).

1. For **Visual type**, choose the **Points on map** icon. It looks like a globe with a point on it.

1. Drag a geographic field from the **Fields list** pane to the **Geospatial** field well, for example `Country`. You can also choose a latitude or longitude field.

   A point map appears with a point for each location in your data.

   If the field is part of a geographic hierarchy, the hierarchy displays in the field well.

1. Drag a measure from the **Fields list** pane to the **Size** field well.

   The points on the map update to show the magnitude of values for each location. 

1. (Optional) Drag a dimension from the **Fields list** pane to the **Color** field well.

   Each point updates to show a point for each categorical value in the dimension.

# Creating filled maps


You can create filled maps in Quick to show the difference between data values for each location by varying shades of color. 

Use the following procedure to create a filled map in Quick.

To create filled maps in Quick, make sure that you have the following:
+ One geospatial field (such as country, state or region, county or district, or ZIP code or postal code).
+ (Optional) A numeric field (measure) for color.

## Creating filled maps


**To create a filled map**

1. Add a new visual to your analysis. For more information about starting analyses, see [Starting an analysis in Quick Sight](creating-an-analysis.md). For more information about adding visuals to analyses, see [Adding a visual](creating-a-visual.md#create-a-visual).

1. For **Visual type**, choose the **Filled map** icon.

1. Drag a geographic field from the **Fields list** pane to the **Location** field well, for example `Country`.

   A filled map appears with each location in your data filled in by the number of times they appear in your dataset (the count).

   If the field is part of a geographic hierarchy, the hierarchy displays in the field well.

1. (Optional) Drag a measure from the **Fields list** pane to the **Color** field well, for example `Sales`.

   Each location updates to show the sum of sales.

# Interacting with maps


When you view a map visual in an Quick analysis or published dashboard, you can interact with it to explore your data. You can pan, zoom in and out, and autozoom to all the data.

By default, map visuals are always zoomed based on the underlying data. When you pan around in the map or zoom to a different level, the zoom to data icon appears above the zoom in and out icons at bottom right of the map. Using this option, you can quickly zoom back to the underlying data.

**To pan in a map visual**
+ Click anywhere on the map visual and drag your cursor in the direction that you want to pan the map.

**To zoom in or out in a map visual**
+ On the map visual, choose the plus or minus icons at bottom right. Or you can double-click the map to zoom in, and shift-double-click to zoom out.

**To zoom back to all the data**
+ On the map visual, choose the zoom to data icon. This icon appears when you pan or zoom in on a map.