DavidSpriggs/ConfigurableViewerJSAPI — pull request #90 by tmcgee (2014-06-20 19:18:28+00:00)
Title: Update the StreetView widget so it can also work as a titlePane widget

The current StreetView widget was originally intended to be a floating window. This PR allows the widget to also be a titlePane widget and placed in the sidebar. The only changes necessary to the widget config is to change the type, add the position and decide if you want it open by default:

``` javascript
streetview: {
include: true,
id: 'streetview',
type: 'titlePane',
position: 9,
open: false,
path: 'gis/dijit/StreetView',
title: 'Google Street View',
options: {
map: true,
mapClickMode: true,
openOnStartup: true
}
}
```

once it becomes a titlePane, the "openOnStartup option is not applicable.

Note you can also pass in parameters for the StreetView Panorama as "panoOptions". The available options are documented here: https://developers.google.com/maps/documentation/javascript/streetview