How to Layer Maps in Tableau

Cody Schneider10 min read

Layering maps in Tableau is how you transform a flat, single-dimension graphic into a rich, multi-dimensional story. Instead of presenting one set of geographic data, you can overlay several, providing context and revealing relationships that would otherwise be hidden. This article will walk you through the two primary methods for layering maps, equipping you with the skills to build more insightful geographic visualizations.

GraphedGraphed

Your AI Data Analyst to Create Live Dashboards

Connect your data sources and let AI build beautiful, real-time dashboards for you in seconds.

Watch Graphed demo video

Why Bother Layering Maps at All?

Before jumping into the "how," let's quickly cover the "why." A single map - say, one showing sales by state - is useful, but it tells an incomplete story. What if you could see your distribution centers on that same map? Or your top customer locations? Layering opens up new dimensions of analysis.

  • Provide Richer Context: Answering "where" is good, but answering "where in relation to what" is even better. You can see how one geographic dataset interacts with another. For example, you could layer earthquake locations (points) over regional fault lines (lines) to see the spatial relationship instantly.
  • Simplify Comparisons: Instead of forcing your audience to flip between two different maps, a layered map allows for direct comparison. Imagine a single view showing your store locations alongside your top competitors' locations. You can immediately spot areas of high competition or underserved markets.
  • Enhance Clarity: By consolidating information, you create a cleaner, more efficient dashboard. A single, well-designed layered map is far more effective than three separate ones showing different geographic metrics. It reduces clutter and focuses attention on the narrative.
  • Tell a More Compelling Story: Data visualization is about storytelling. Layering allows you to build a narrative. You can start with a base layer showing broad trends (e.g., population density) and add layers on top to highlight specifics (e.g., service outages or marketing campaign reach).

The Key Ingredients for Layering Maps

To successfully layer maps, you need the right type of data. Tableau is incredibly smart when it comes to geographic information, but it helps to know what it’s looking for.

Your data should contain one or more geographic fields. Tableau automatically recognizes fields with names like:

  • Country
  • State / Province
  • City
  • Zip Code / Postal Code
  • County
  • Airport

When you use one of these fields in a view, Tableau generates Latitude (generated) and Longitude (generated) fields and places them on the Rows and Columns shelves for you. This is the fastest way to get a map up and running.

For more precise control, you can use your own latitude and longitude fields. If your dataset includes specific coordinates for store locations, customer addresses, or event sites, using these custom fields will ensure your points are plotted with exact accuracy instead of just at the center of a zip code or city.

Free PDF Guide

AI for Data Analysis Crash Course

Learn how to get AI to do data analysis for you — the best tools, prompts, and workflows to go from raw data to insights without writing a single line of code.

Method 1: Using a Dual-Axis Map (The Classic Approach)

The dual-axis method is the original way to layer maps in Tableau, and it's still an essential technique to master. It works by creating two separate map visualizations on the same sheet and then combining them into a single view. This is perfect for when you need to layer exactly two sets of geographic data, particularly if they require different mark types (like a filled map with circles on top).

Let's walk through an example. Imagine you want to create a map showing sales by state (a filled map) and then layer on the locations of your major office hubs (circles).

Step 1: Create Your Base Map Layer

First, we’ll build the filled map for sales by state.

  1. Drag the Longitude field to the Columns shelf and the Latitude field to the Rows shelf.
  2. On the Marks card, change the mark type from "Automatic" to "Map".
  3. Drag your State dimension to the Detail section on the Marks card. You should now see an outline map of all the states in your data.
  4. To make it a filled map showing sales, drag your Sales measure to the Color section on the Marks card. Now, states will be colored based on their sales volume. This is your first layer.

Your Marks card for this first layer should look something like this. Notice it’s labeled based on the measures on your shelves.

Step 2: Add and Configure the Second Map Layer

Now, let's add the second map that will show our office locations.

  1. Drag another instance of the Latitude field onto the Rows shelf, placing it to the right of the existing one. This will create two identical maps stacked vertically.
  2. You'll now see two separate sections on the Marks card - one for each Latitude pill. Click on the second (bottom) one to configure your next layer.
  3. Change this layer's mark type to "Circle". Remove the State and SUM(Sales) pills from this Marks card.
  4. Drag your geographic field representing office locations (let's say it’s a City field) to Detail. If you have specific latitude and longitude for offices, you'd use those instead of a city field for accuracy.
  5. You can now style this second layer independently. For example, drag your Profit measure to Size to make circles larger for more profitable offices.
GraphedGraphed

Your AI Data Analyst to Create Live Dashboards

Connect your data sources and let AI build beautiful, real-time dashboards for you in seconds.

Watch Graphed demo video

Step 3: Combine Layers with a Dual Axis

This is where the magic happens. We’re going to combine these two maps.

  1. On the Rows shelf, right-click the second Latitude pill and select "Dual Axis".
  2. Voila! Your two maps are now layered on top of each other. The office locations (circles) should be appearing on top of the states (filled map).

One final, crucial step: synchronize the axes. After creating a dual axis, sometimes the scaling can be slightly off. To fix this, right-click on either axis in the view (the vertical latitude axis) and select "Synchronize Axis" to ensure both maps align perfectly. After syncing, you can right-click the right-hand axis and uncheck "Show Header" to tidy up your view.

Now you have a single visualization that communicates both regional sales performance and the precise location and profitability of your office hubs.

Method 2: Using Built-in Map Layers (The Modern & Easier Approach)

Introduced in Tableau 2020.4, the Map Layers feature makes this entire process much more intuitive. Instead of creating dual axes, you can simply drag-and-drop geographic fields directly onto the map to create new layers. Best of all, you are no longer limited to just two layers!

Let's recreate our same example - sales by state with office locations - using this newer method.

Step 1: Create Your Base Map

  1. You can get started even faster with this method. Find your State field in the Data pane and simply double-click it. Tableau will automatically create a map with points for each state.
  2. Next, change the mark type on the Marks card to "Map".
  3. Drag your Sales measure to the Color button on the Marks card. Your base layer is already done.

Step 2: Add a New Layer by Dragging and Dropping

This is where the Map Layers feature really shines. It's incredibly straightforward.

  1. Find your next geographic field in the Data pane - let's use City for our offices again.
  2. Drag the City field directly onto the map visualization itself.
  3. As you hover over the map, a drop-down menu titled Add a Marks Layer will appear in the top left corner of the view. Drop the City field on that target.

That's it! Tableau instantly adds a new layer. You'll see this reflected in the Marks card, which now shows two separate, manageable layers: one for your original state map and a new one for City.

Free PDF Guide

AI for Data Analysis Crash Course

Learn how to get AI to do data analysis for you — the best tools, prompts, and workflows to go from raw data to insights without writing a single line of code.

Step 3: Customize Each Layer Independently

With the new layer added, you have complete control over its appearance. The Marks card is now divided, letting you select and modify each layer individually.

  1. Click on the City layer's title on the Marks card to activate it.
  2. The default mark is a circle, which is what we want. You can now drag other measures to customize this layer. Drag Profit to Size and a dimension like Region to Color.
  3. Now, click on the original State Marks Layer. Everything you do here will only affect the filled map layer. For instance, you could adjust the color scheme or opacity of the states without touching the city circles.

You can repeat this process to add more layers. Have another dataset with customer zip codes? Drag that field onto the "Add a Marks Layer" target and configure it as a new density map layer. The flexibility to add multiple, distinct layers makes this method incredibly powerful.

Tips for Creating Clear and Insightful Layered Maps

Building a layered map is one thing, building a good one is another. The goal is to create clarity, not confusion. Here are a few best practices to keep in mind.

  • Keep it Simple: Just because you can add ten layers doesn't mean you should. Too much information will overwhelm your audience. Stick to two or three layers that tell a coherent story. If it starts to look like a Jackson Pollock painting, you've gone too far.
  • Use Color and Size Strategically: These are your most valuable tools for separating layers. Use a cool, light color palette for your base layer (like sales by state) and a hot, vibrant color for your foreground layer (like your store locations). Varying the size of marks can also add another dimension to the data.
  • Play with Opacity: On the "Color" shelf of your Marks card, you can adjust a layer’s transparency. Reducing the opacity of a filled map base layer (e.g., setting it to 70%) is a great trick. This mutes the background slightly, helping the points on top of it pop with more clarity.
  • Customize Your Tooltips: Each layer can have its own customized tooltip. When a user hovers over a state, the tooltip should show state-level data (e.g., Total Sales, Number of Customers). When they hover over a city point, the tooltip should show different, specific information (e.g., Office Name, Regional Manager, YTD Profit). This provides detail on demand without cluttering the view.
  • Choose the Right Mark Types: Think about how different mark types interact. A filled map (polygon) or density map makes an excellent, full-coverage base layer. Circles, shapes, or pie charts (points) are perfect for overlaying specific locations on top. Lines are great for showing routes, paths, or connections between points on your base layer.

Final Thoughts

Mastering map layering in Tableau, whether through the dual-axis method or the modern map layers feature, fundamentally changes what you can communicate with your data. This technique lets you move beyond simple geographic plots and into building sophisticated spatial analyses that answer complex business questions in one clear and interactive view.

While Tableau offers powerful tools for hands-on analysis, we understand that not everyone has the time to become a visualization expert. With Graphed, we’ve simplified this entire process. You can connect your data sources and then just ask for the visualization you need in plain English. For example, you could prompt, "Create a map of the United States, colored by total sales for each state, and then overlay circles for our office locations sized by profit." Our AI analyst builds the interactive viz for you in seconds, saving you time and giving your whole team the ability to get answers from their data a lot faster.

Related Articles