Show a Street View image of an address

In this document, we will be going over how to use an address field to display a static street view thumbnail.

  • Not yet re-checked
  • Classic builder

Moved from our previous help site and not yet re-checked against the current product. Last edited Sep 20, 2024.

In this document, we will be going over how to use an address field to display a static street view thumbnail.

As you can see in the GIF below, we can enter an address and then view the street view on the details page.

Screenshot for “Use an address field to display a static street view thumbnail”

First, let's go over the fields that are required for this to work

  1. Address
  2. Text Formula A
  3. Text Formula B
  4. Street View Source (Equation Field)
Screenshot for “Use an address field to display a static street view thumbnail”

1. The Address Field

For the address field just make sure to include the Address, City, State, and Zip

Screenshot for “Use an address field to display a static street view thumbnail”

2. Text Formula A

For this field, we'll need to paste the following text:

generic
https://maps.googleapis.com/maps/api/streetview?size=2400x2400&location=
Screenshot for “Use an address field to display a static street view thumbnail”

3. Text Formula B

For this field, we'll need to paste the following text:

generic
&source=outdoor&key=AIzaSyByjIXK2_OHN-r7sxlFcrUUMfxNIv7rSl0
Screenshot for “Use an address field to display a static street view thumbnail”

4. Street View Source (Equation)

For this field, we'll need to use the Text Function Concat()

SQL

sql
CONCAT({Text Formula A},{Address - Address},{Text Formula B})
Screenshot for “Use an address field to display a static street view thumbnail”

Now that we have all the necessary fields we can add our table component with our addresses and include a details page where we will display our static street view picture.

(Learn more about adding tables to your page here: https://support.tadabase.io/support/solutions/articles/44000823162-adding-tables-to-your-page)

On our address Detail page, we will add an HTML component

Screenshot for “Use an address field to display a static street view thumbnail”

Next, let's add the following to the Source code of the HTML component

HTML

html
<p><img src="{!!Street View Source!!}" alt="" /></p>
Screenshot for “Use an address field to display a static street view thumbnail”

Was this page helpful?

Something wrong or missing on this page? Tell us.