google street view link popup

10385
9
04-10-2020 12:10 PM
Labels (1)
TiffanyTse1
New Contributor II

I am trying to create a  custom widget that allows a user to open a map in a google street view popup or direct them to google street view in a browser tab when they type in an address or click on a point in their web maps. Does anyone know where they can direct me a resource I could use?

9 Replies
RickeyFight
MVP Regular Contributor
0 Kudos
VictorCoelho
New Contributor III

I believe that Google Maps terms doesn't allow this type of integration, please refer to  No Use With Non-Google Maps :  Google Maps Platform Terms of Service  |  Google Cloud 

0 Kudos
RickeyFight
MVP Regular Contributor

Tiffany Tse‌  and Victor Coelho‌  

The blog that explains how to do this is from an esri employee.   There is has been many discussions on geonet on this topic. 

0 Kudos
TiffanyTse1
New Contributor II

Thank you for your reply, I was more trying to understand if  I could create a javascript plugin using the Javascript api

0 Kudos
KevinMacLeodCAI
Occasional Contributor II

Hi @TiffanyTse1  you can create a link to Google Maps or Street View in a new tab from a link in the popup easily, if you have points or parcel polygons which have an address. For example, https://www.google.com/maps/place/{YourFullAddressField}

So for example it would be  https://www.google.com/maps/place/1+E+Bay+St+Savannah+GA 

 

Same for Street View, but it takes coordinates. www.google.com/maps?q=Your+Sign+Location+in+Street+View@-81.1284962646457,32.03801923233931&cbll=32....

 

Based on that blog above it seems to suggest it is ok since it's a new tab and not an overlay inside the Esri tab, but I couldn't definitively say and as their terms are probably subject to change I'd verify. 

Find local businesses, view maps and get driving directions in Google Maps.
0 Kudos
HamzaBounouidar
New Contributor

Hi @TiffanyTse1  @KevinMacLeodCAI,
I'm looking for an answer for a similar need. So with last TOS, except the popup solution, we can't have a widget with a separate map (google), with billable key ?
Thanks in advance

0 Kudos
KevinMacLeodCAI
Occasional Contributor II

Greetings Hamza, I created a Street View widget. It's of ambiguous use; I would say it may or may not comply with Google TOS at any moment. The Google Earth widget is also a WebApp Builder widget  https://github.com/kevinsagis/GoogleEarth  https://github.com/kevinsagis/Streetview - https://community.esri.com/t5/web-appbuilder-custom-widgets-documents/google-earth-widget/ta-p/91460...  Here is an example of StreetView and Earth: www.sagis.org/map

 

Put the widget itself in to the /stemapp folder as Esri describes for new apps: https://www.esri.com/about/newsroom/arcwatch/add-custom-widgets-to-web-appbuilder-for-arcgis-develop...

e_cat
by
New Contributor III

Kevin, I absolutely love your widget in the demo and tried to use it following the steps but when I try to import the downloaded file, it says invalid app. Any ideas what could've gone wrong?

0 Kudos
shildebrand
Occasional Contributor

Hi Kevin,

Do you know if the streetview and earth widget shown here: http://www.sagis.org/map is available for download somewhere?  We would love to use this in our internal web app builder application.

Thanks,

 

0 Kudos