AnsweredAssumed Answered

Street View Widget (2.0.1) giving me an error in WAB 2.0

Question asked by MidnightYell2003 Champion on Jun 15, 2016
Latest reply on Jun 16, 2016 by MidnightYell2003

I am using Robert Scheitlin, GISP's Google StreetView widget from here: Google Street View Widget 2.1 - 08/29/16


I have it implemented into one of my custom Web AppBuilder (Development Edition 2.0) maps as a widget. It works fine for about 4 seconds, then it grays out and gives me this error:

Oops! Something went wrong.

This page didn't load Google Maps correctly. See the JavaScript console for technical details.


This error happens in Chrome or Firefox and happens in my Dev area or on a hosted site. Though, I can load Robert's example site just fine.


How do I go about fixing this?


Thanks in advance!



PS, When looking at the JavaScript console, this is the error:

"Google Maps API error: RefererNotAllowedMapError

Your site URL to be authorized: https://desktop-vdncsj2:3344/webappbuilder/apps/5/widgets/StreetView/StreetView.html?wbgColor=000000&nSVImageAvailableMsg=No%20Street%20View%20Image%20Available%3Cbr%3Eor%20you%20have%20not%20yet%20dragged%20the%20Google%C2%AE%20Street%20View%20man%3Cbr%3Eonto%20the%20map%20to%20set%20your%20location.&gAPIKey=AIzaSyAdbCwPFBEaBd8HlbagFVlBvFAybuuQjn0"