Mapbox Maps as a Background Map in Tableau

By default, Tableau uses default Maps to display the spatial data. However, you have an option to use your own Background Maps. In this article, we will show you how to Use Mapbox Maps as a Background Map in Tableau with an example.

For this Tableau Mapbox Maps demo, we created two sample styles in our Mapbox account. If you want you can use default mapbox styles

How to use Mapbox Maps as a Background Map in Tableau 1

For this Mapbox Maps in Tableau example, we are going to use Sample – Superstore data sources that come with Tableau.

How to Use Mapbox Maps as a Background Map in Tableau

Before we start using the Mapbox Maps as a Background Map in Tableau, let me first create a Symbol Map. To do so, Drag and drop the Postal Code dimension to Details card present in Marks Shelf

How to use Mapbox Maps as a Background Map in Tableau 3

Now you can see the auto-generated symbol map.

How to use Mapbox Maps as a Background Map in Tableau 4

Let me add City to Details card, and Count (Quantity) to Size. It means Circle size will depend upon Number of Orders

How to use Mapbox Maps as a Background Map in Tableau 5

To use Mapbox Maps as a Background Map in Tableau, Go to the Map, select background Maps and then select Map Services… from the drop-down Menu

How to use Mapbox Maps as a Background Map in Tableau 6

Selecting Map Services… will open Map Services window. Please click Add… button and choose Mapbox Maps.. option. Please refer WMS Server Map as a Background Map to understand the WMS Servers.. option

How to use Mapbox Maps as a Background Map in Tableau 8

Select Tableau Mapbox Maps.. option will open Add Mapbox Map window

  • Style Name: Please specify a valid style name.
  • URL: Specify the URL where your Mapbox map is present.
How to use Mapbox Maps as a Background Map in Tableau 9

Please go to the Mapbox website and Go to the Style section. Next, select the style that you want to use, and select Share, develop & use from the Menu

How to use Mapbox Maps as a Background Map in Tableau 10

It will navigate you to a new page.  Please copy the Code under the Use Style in GIS Apps section. Remember, don’t forget to select Tableau

How to use Mapbox Maps as a Background Map in Tableau 11

Pasting the URL will automatically add the API Access Token, Username, and Layer ID. Click OK to close the window

How to use Mapbox Maps as a Background Map in Tableau 12

Click Close button

How to use Mapbox Maps as a Background Map in Tableau 13

Now you can see that our default tableau Map replaced by the Satellite map that we created in mapbox.

How to use Mapbox Maps as a Background Map in Tableau 14

If you want to check which Background Map is using currently and Go to the Maps -> Background Maps. You can see it is using NewRoadMap instead of the tableau.

How to use Mapbox Maps as a Background Map in Tableau 15

You can Zoom any particular location

How to use Mapbox Maps as a Background Map in Tableau 16