How to Use Google Maps in Tableau

In this article, we will show you how to use Google Maps in Tableau with an example. For this Tableau Google maps demo, we are going to use Sample – Superstore data sources that come with the tableau.

How to Use Google Maps in Tableau

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

How to Use Google Maps in Tableau 2

Now you can see the auto-generated symbol map.

How to Use Google Maps in Tableau 3

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

How to Use Google Maps in Tableau 4

How to use Google Maps in Tableau Worksheet

To use Google Maps in Tableau, Go to the Worksheet and Select Actions.. from the drop-down Menu

How to Use Google Maps in Tableau 5

Once you select Actions.., the below-shown window will be opened. Click Add Action button and select URL.. option

How to Use Google Maps in Tableau 7

Selecting URL will open the Add URL Action window

  • Name: Provide a Valid name
  • Source Sheets: Please choose the selection from which you want to perform this action. I mean Map
  • Hover: If you select this option, Map will open when you Hover over it.
  • Select:  Map will open when you Select a specified point.
  • Menu: Use Menu to open Map
  • URL: Please specify the URL

We named it as Google Map and using this for Google Maps sheet, and it will run when you select a point. URL you have to use is: https://www.google.com/maps/?q=

How to Use Google Maps in Tableau 9

Please click the side arrow to select the Latitude and Longitude. As you can see, we don’t have any existing Latitude and Longitudes in both Dimensions and Measures. If your Data source has those things, they select them.

How to Use Google Maps in Tableau 26

How to use Google Maps in Tableau Dashboard

Before we start using Google Maps in Tableau Dashboard, let me create a Dashboard first

How to Use Google Maps in Tableau 11

Next, we added the Google Map that we create previously to this Dashboard.

How to Use Google Maps in Tableau 12

Next, drag and Drop the Web Page from Objects region to Dashboard bottom region.

How to Use Google Maps in Tableau 13

Dropping a Web Page will open the Edit URL window. Please leave it blank or specify default URL name and click OK

How to Use Google Maps in Tableau 14

Now you can see our Dashboard has One Symbol Map and a Web page

How to Use Google Maps in Tableau 15

To use Google Maps in Tableau dashboard, Go to the Dashboard and Select Actions.. from the drop down-Menu

How to Use Google Maps in Tableau 16

Once you select Actions.., the below-shown window will be opened. Here, Please click Add Action button and choose URL..option

How to Use Google Maps in Tableau 17

Selecting the URL will open the Add URL Action window. We already explained theses properties in our previous example. Here, we named it Google DB Map, and it will run when you select a point. URL you have to use is: https://www.google.com/maps/?q=

How to Use Google Maps in Tableau 18

Please click the side arrow to select the Latitude and Longitude. As you can see, we are choosing the Latitude that was auto-generated by tableau when you add Postal Code to maps.

How to Use Google Maps in Tableau 19

Similarly, add longitude to the URL. Now the URL will be https://www.google.com/maps/?q=<Latitude(generated)>,<Longitude(generated)>

How to Use Google Maps in Tableau 20

Click OK to close the window

How to Use Google Maps in Tableau 21

Let me select Los Angles from Map, and you can see the Google Map of the Specified Postal Code. If your Data has the proper address, then Tableau google map will display that building as well.

How to Use Google Maps in Tableau 22

By selecting the location, you can explore the Google Map options like Directions, call, etc.

How to Use Google Maps in Tableau 23

Let me show you the view of the below-shown image

How to Use Google Maps in Tableau 24

And you can see the City hall

How to Use Google Maps in Tableau 25

You can also select the Satellite View from this Tableau Google Map

How to Use Google Maps in Tableau 27

Comments are closed.