-
1. Re: Google Map Integration to Dashboard
vaishnavi.a May 11, 2015 9:38 PM (in response to Sai Manikanta N)Hi Sai,
Please try to get the API key,
To retrieve your API key:
- Visit the APIs Console at Google Developers Console and log in with your Google Account.
- Click the Services link from the left-hand menu.
- Activate the Google Maps Embed API service.
- Click the API Access link from the left-hand menu. Your API key is available from the API Access page, in the Simple API Access section. Maps API applications use the Key for browser apps.
-
2. Re: Google Map Integration to Dashboard
vaishnavi.a May 11, 2015 9:39 PM (in response to Sai Manikanta N)1 of 1 people found this helpfulSai,
Refer the below ,
How to embed a Google satellite image in a Tableau Public visualization:
The first group of 5 steps shows you how to create a url for each bridge, and the second group of 5 steps shows you how to add a box to your dashboard to pull up the bridges.
I. Create the URLs
1. First, notice that the data file contains Latitude (“LAT”) & Longitude (“LON”) for each bridge.2. A Google Maps search for a particular Latitude & Longitude (say, 48.445781 and -122.341108) yields a link url like this:
3. The url can be simplified a little bit as follows:
https://maps.google.com/maps?q=48.445781,-122.341108&z=17&t=h&output=svembed
4. Breaking down the elements of the url, we can see that after the latitude & longitude, there are three parameters in the url:
- “q=48.445781,-122.341108″ – these are your coordinates. Note that if you have an address field instead of Lat/Long, you can put an address after “q=” as well
- &z=17 – this specifies the zoom level. Higher numbers zoom in, lower numbers zoom out
- &t=h – this specifies the type of map. (t=m is a map, t=h is a satellite view)
- &output=svembed – this is a key parameter that makes sure the website you embed in your viz doesn’t include the entire site – just the map itself
5. You could then generalize the url to:
- https://maps.google.com/maps?q=<LAT>,+<LON>&z=17&t=h&output=svembed
You can see that the actual numbers for Latitude and Longitude have been replaced with field names <LAT> and <LON>
The next group of steps walks you through how to add a box to your dashboard that pulls up this embedded satellite image when a user clicks on a particular circle.