Roberts Custom WAB Widgets

282551
475
12-31-2014 11:28 AM
RobertScheitlin__GISP
MVP Emeritus
475 Replies
KyleCrawford2
New Contributor III

Hi Robert,

I am attempting to leverage your Google Street View widget in an application but when the Street View window opens it works for maybe 10 seconds and then I get the following error:

Any suggestions would be great!

0 Kudos
KyleCrawford2
New Contributor III

To further comment on my first response this is the error I receive in the browser console:

I generated a Street View API key and placed it in the config.json file at "googleapikey":. I then set referrers for the API key but still receive the same error.

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

Kyle,

  Did you set the referrer to https: //webgis,altamonte.org? The less specific you are the better.

0 Kudos
KyleCrawford2
New Contributor III

Robert,

The widget window just sits and loads when I make the referrer site less specific.

I saw that you responded to another user to just remove the Google API Key altogether.

Result in Chrome:

But, if I use this application in Internet Explorer I have no issues when removing the Google API Key. I have had issues before working with applications in Chrome. Do you know if this is a possible solution?

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

Kyle,

  Did you just set the api key to an empty string or did you delete the parameter all together?

0 Kudos
KyleCrawford2
New Contributor III

Robert,

I set it to an empty string.    widgets\StreetView\config.json

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

Kyle,

  Can you test my Live Preview Site and see what happens?

0 Kudos
KyleCrawford2
New Contributor III

Robert,

     The widget works fine for me in your Live Preview Site.

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

Kyle, so that tells you it is a configuration issue. I am not sure what to tell you now though.

0 Kudos
KyleCrawford2
New Contributor III

Robert,

Thanks for your help! Without making any changes it just started working in Chrome so I'm just going to go with that.

0 Kudos