I am at my wits end why Streetview is being blocked on my pad, I have block ups allowed on Safari, Robert Scheitlin your streetview map works on my Ipad. My wab map will not allow streetview to open on the ipad saying this site is attempting to open a pop up window, Block Allow, I allow 3 to 4 times then a separate tab opens with Error Code: 500 internal Server Error, the request was rejected by HTTP Filter. (12217) I have tried this on other wifi networks and even my home network and get the same error only applicable to my WAB map. I have uninstalled Streetview and reinstalled V1.3 same problem
Solved! Go to Solution.
George,
Your web server seems to be requesting the length of the url string because of the no image message length. I have seen this before when an IT group limits the url string length. So the quick fix it to shorten the no image message in the street view widgets nls/strings.js
So in the above file find the
nostreetviewimageavailablemsg and shorten this message and save the strings.js
George,
Please post your config_Google Street View.json. Also test that you have access to the StreetView.html file by pasting this url in your browser:
if testing on your development machine:
http:// [yourmachine name:3344]/webappbuilder/apps/[app#]/widgets/StreetView/StreetView.html?wbgColor=485566&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=
If testing on a production machine:
http:// [your apps url]/widgets/StreetView/StreetView.html?wbgColor=485566&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=
You should get a gInitialize error but the window show still display the page (not an actual street view image though).
My config from WAB folder or from my server folder of my app
Let's start with the one from your server folder.
{
"hidestreetviewvwidowwhenminimized": true,
"windowproperties": {
"height": 500,
"width": 600
},
"googleapikey": "do u need my key?",
"clientid": "",
"streetviewpanoramaoptions": {
"addresscontrol":{
"visible": true,
"controlposition": "TOP_CENTER"
},
"clicktogo": true,
"disabledoubleclickzoom": true,
"imagedatecontrol": true,
"linkscontrol": true,
"pancontrol": {
"visible": true,
"controlposition": "TOP_LEFT"
},
"zoomcontrol": {
"visible": true,
"controlposition": "TOP_LEFT",
"controlstyle": "SMALL"
}
}
}
George,
Actually can you test by removing the Google API Key from the file all together?
Also did you test the StreetView.html as I mentioned earlier?
The streetview html gives this error. Shall i just delete the API Key?
yes try that now.
Deleted API key from streetview config.json, did not help, the json file on my server not in WAB directory. Also tried in WAB 1.3 folder, same thing, attempting to open a pop up window.
here my wab map which is giving problems on ipad
George,
Your web server seems to be requesting the length of the url string because of the no image message length. I have seen this before when an IT group limits the url string length. So the quick fix it to shorten the no image message in the street view widgets nls/strings.js
So in the above file find the
nostreetviewimageavailablemsg and shorten this message and save the strings.js