Google Street View widget

This Custom Tool allows users to display a Google Street View (c) widget showing panoramic views from positions along streets. Configure the custom tool GoogleStreetviewWidget.htm from the directory C:\Tomcat\webapps\<WebOffice application>\pub\custom_tools as described:

 

icon_comment

In order to use the custom tool properly, you also need to apply for your own Google API Key. This can be requested via a Google Business Account and must be configured within the Admin Part of the Custom Tool:

 

howto_google_street_view03

 

icon_cross-reference

WebOffice 10.9 SP1 offers the technical possibilities of using Google Street View (c) within the application, but the license terms (terms of use) have to be fulfilled to use the integration of the Google Street View (c) service legally. If this is not the case a break of the license exists. VertiGIS does not take over any responsibility concerning the legal use of the Google Street View (c) Terms. More details of the terms of use of Google Street View you can find within the following link https://www.google.com/intl/en_US/help/terms_maps.html.

 

(1) Web-Integration - Custom Tool

Configure a Web integration - custom tool with the following parameters:

URL of external page: pub\custom_tools\GoogleStreetviewWidget.htm

JavaScript function: callFromWO

 

Configuring a custom tool for using the Google street View widget

Configuring a custom tool for using the Google street View widget

 

(2) Simple Custom Tool

Configure a Simple Custom Tool with tool mode Click point.

 

Configuring a Simple Custom Tool for using Google Street View widget

Configuring a Simple Custom Tool for using Google Street View widget

 

icon_comment

To use the Google Street View (c) Widget a Google Maps JavaScript API key is necessary. The customer have to create a API-Key for Google Maps (c) with the following link https://developers.google.com/maps/documentation/javascript/?hl=de. This key has to be included into the administration part of the external site.

 

The Google Maps JavaScript API key can be inserted within the administration part of the external site (pub\custom_tools\GoogleStreetviewWidget.htm)

Within the HTML site of the Google Street View (c) widget you can find different parameters to customize the Google Street View (c) window. The following table shortly describes the different panorama options of the Google Maps API.

 

Parameter

Description

disableDefaultUI

Enables/disables all default UI. May be overridden individually. (Type: boolean)

addressControl

The enabled/disabled state of the address control. (Type: boolean)

clickToGo

The enabled/disabled state of click-to-go. (Type: boolean)

disableDoubleClickZoom

Enables/disables zoom on double click. Disabled by default. (Type: boolean)

enableCloseButton

If true, the close button is displayed. Disabled by default. (Type: boolean)

fullscreenControl

The display options for the fullscreen control. (Type: boolean)

imageDateControl

The enabled/disabled state of the imagery acquisition date control. Disabled by default. (Type: boolean)

linksControl

The enabled/disabled state of the links control. (Type: boolean)

panControl

The enabled/disabled state of the pan control. (Type: boolean)

scrollwheel

If false, disables scrollwheel zooming in Street View. The scrollwheel is enabled by default. (Type: boolean)

visible

If true, the Street View panorama is visible on load (Type: boolean)

zoomControl

The enabled/disabled state of the zoom control (Type: boolean)

Google Street View Panorama Parameters (HTML File)

 

icon_cross-reference

See chapter Web Integration - Custom Tool for details about the configuration of custom tools in WebOffice author standalone.

Please consider that the Google Street View © widget is only available within the WebOffice core client, if also the tool Search Coordinates is configured for the same project. For more details see chapter Search Coordinates.