Select to view content in your preferred language

Google® Street View Widget

49089
153
06-12-2013 08:02 PM
RobertScheitlin__GISP
MVP Emeritus

All,

   Here is the next installment to my long list of widgets. I never really wanted to add to the list of several Street View Widgets, but as it's predecessors have lacked updating when new version of Flex Viewer are released and me wanting to add more features, I finally decided to do one myself.

The Google Street View Widget version 3.3 for Flex Viewer 3.3 allows you to view Google Street View Panoramas in a popup window. The widget use Google Maps API Version 3 and has almost all the API options for the Street View Panorama that are available in the API configurable in the widgets xml. A lot of attention has gone into the UI (User Inferface) and UX (User Experience) of this widget and a lot of cross browser testing has been done. Tested on Safari for windows 5.1.7, Internet Explorer 9, Opera 12.15, FireFox 21.0, and Chrome 27.0.1453.110 m.

Configurable features include:

    * hidestreetviewvwidowwhenminimized - This is a true or false value and determines if the graphic on the map and the Google Street View window are hidden when the widget is minimized.
    * width - The width of the popup widow that is opened.
    * height - The height of the popup widow that is opened.
    * apikey - The Google Maps API Key that you must obtain to use this widget.
      https://developers.google.com/maps/documentation/javascript/tutorial#api_key
    * addresscontrol - is a true or false value and determines if the Google Street View Address Control is visible.
      It has an attribute of controlposition that defines where in the popup window the control is placed.
    * clicktogo - is a true or false value and determines if the Google Street View will move to the location clicked.
    * disabledoubleclickzoom - is a true or false value and determines if the Google Street View will zoom into the
      location on the panorama where the user double clicks.
    * imagedatecontrol - is a true or false value and determines if the Google Street View will display the date of the
      panorama image was taken along the bottom of the window with the copyright info.
    * linkscontrol - is a true or false value and determines if the Google Street View will display the movement arrows
      and street names on the panorama for navigation purposes.
    * pancontrol - is a true or false value and determines if the Google Street View pan Control is visible.
      It has an attribute of controlposition that defines where in the popup window the control is placed.
    * zoomcontrol - is a true or false value and determines if the Google Street View zoom Control is visible.
      It has an attribute of controlposition that defines where in the popup window the control is placed and a
      controlstyle attribute that determines the size of the control.
   
    * All text that the widget uses is configurable in the xml to allow for internationalization of the widget.

So here it is: http://www.arcgis.com/home/item.html?id=b4259b1cf73e4fa3b04e7bdf75fee29b

Tags (2)
0 Kudos
153 Replies
RobertScheitlin__GISP
MVP Emeritus
Daniel,

   It sounds like you are running into the issue covered in previous post:

http://forums.arcgis.com/threads/86574-Google%C2%AE-Street-View-Widget?p=314613&viewfull=1#post31461...
0 Kudos
DanielJohns
Frequent Contributor
Daniel,

   It sounds like you are running into the issue covered in previous post:

http://forums.arcgis.com/threads/86574-Google%C2%AE-Street-View-Widget?p=314613&viewfull=1#post31461...


Oops, sorry I called it connectivity in my previous post. Yes, tried that again. I cleared the history and reloaded, same result.
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Daniel,


  1. are you using localhost in the url or the machine name?

  2. Have you enabled Intranet settings in IE? http://www.slickit.ca/2009/02/internet-explorer-enable-intranet.html

0 Kudos
DanielJohns
Frequent Contributor
Daniel,


  1. are you using localhost in the url or the machine name?

  2. Have you enabled Intranet settings in IE? http://www.slickit.ca/2009/02/internet-explorer-enable-intranet.html



1. Using the machine name in the Url

2. Making those changes did not work.
0 Kudos
DanielJohns
Frequent Contributor
Correction..

C:\Users\d..\Adobe Flash Builder 4.7\FlexViewer3.4\bin-debug\index.html
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Daniel,

   There is nothing else you should have to do to get it working that I am aware of... The next step I would take is use another browser to test if your deployment of the viewer and widget was successful and if it works in that browser then I would reset IE following these instructions:

http://windows.microsoft.com/en-us/windows7/reset-internet-explorer-settings-in-internet-explorer-9

and do the intranet steps in the previous post and the other steps I linked to earlier again.
0 Kudos
DanielJohns
Frequent Contributor
Daniel,

   There is nothing else you should have to do to get it working that I am aware of... The next step I would take is use another browser to test if your deployment of the viewer and widget was successful and if it works in that browser then I would reset IE following these instructions:

http://windows.microsoft.com/en-us/windows7/reset-internet-explorer-settings-in-internet-explorer-9

and do the intranet steps in the previous post and the other steps I linked to earlier again.


Robert,

Thank you for the feedback. I wasn't able to do a complete reset of IE (IT limitations and restrictions), but I did go back undo all the changes I made while testing. I was finally able to get it to work by getting the 'Compatibility View' turned off as you previously suggested.

To prevent having to do this for all the end-users, I set it in the StreetView.html using the line of code below.

Thank you,
Daniel

<meta http-equiv="X-UA-Compatible" content="IE=edge"/>


Thank you,
Daniel
0 Kudos
by Anonymous User
Not applicable
Hey man, thanks for providing this tool, I had previously used the version for 3.3, and today am attempting to implement this new version. I imported the widget into Flex Viewer 3.4 builder and added it to my map application, configured the API key, and saved my app, but when I try to use it, nothing happens. The little google man jumps up and down, but nothing else, I don't get an error, just nothing. I'm using IE10, any ideas?
0 Kudos
MapAdminstrator
Emerging Contributor
This is a great option to have for our Operations work with bus routing and school site planning. Previously, end-users had to use multiple applications. This widget helps streamline tool management. I would like the window to not open on loading, can't seem to find a fix to this in the config. Perhaps next release will address this. A minor issue for sure, otherwise Excellent.
Wayne
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Chris,

   ARe you getting the popup window when you launch the widget or do you have some popup blocker or toolbar preventing it from poping up?
0 Kudos