Google® Street View Widget

44260
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
DavidCaussin
New Contributor III
Hi Robert

Thanks for this new widget and all your work.

This widget work fine but I have just a little problem with the projection. I work with WID 31370 and i have a gap more than 100 meters

How can i solve the problem?

Thnks in advance

David
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
David,

   I will have to test with that WKID. I have used it in my state plane projection (NAD 83 Alabama East Feet) with out issue.
0 Kudos
DavidCaussin
New Contributor III
Thanks Robert,

Just to add that i had the same problem with the other widget of Andrew McNaughton ....

Thanks in advance
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
David,

   Can you send me your map element text from your main config.xml?

i.e.
<map wkid="102629"
         wraparound180="false"
         initialExtent="551635.039422134 1095306.9960666 757688.235287638 1278247.34668158"
         fullExtent="551635.039422134 1102416.32347167 757688.235287638 1271138.01927652"
         top="40">


And if you have a public service in this projection the url to that service will help me debug this issue.

Also please download the widget again as I updated the widget in version 3.3.1.
0 Kudos
MichaelMiller2
Occasional Contributor III
Thanks Robert!!

One question, upon initial load of the Flex app and opening of the StreetView widget I receive a "No Street View Image Available or you have not yet dragged the Google Street View man onto the map to set your location" (see below).  I've never had a chance to drag the man to the map, it just opens with this. If you dismiss it and then drag the man onto the map, it works great. Why would it show this message upon initial load?

[ATTACH=CONFIG]25257[/ATTACH]

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
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Michael,

   That is just the current design/intended behavior right now as I have to open the window before I get the Pano and this is the message that is under the Pano. Thanks for the feedback I will look into changing this in the next release.
0 Kudos
MichaelMiller2
Occasional Contributor III
Ok, that makes sense and is easily dealt with.  Thanks again Robert!


Michael,

   That is just the current design/intended behavior right now as I have to open the window before I get the Pano and this is the message that is under the Pano. Thanks for the feedback I will look into changing this in the next release.
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Michael,

   Be sure to go back to the widget download and Rate the Widget (by clicking on the number of stars you what to give it).
0 Kudos
MichaelMiller2
Occasional Contributor III
Done! Thanks for the reminder.

Michael,

   Be sure to go back to the widget download and Rate the Widget (by clicking on the number of stars you what to give it).
0 Kudos