Creating a Google Map visualization

You can add a Google Map visualization to a Visual Insight analysis, to display your data as map markers on an interactive map. You can use the visualization to:

Example of a Google Map visualization

The Google Map visualization is similar to the Google Map custom widget, which allows you to display locations as map markers, show relationships between locations as lines between the map markers, and display and edit custom Information Windows with additional information about a location when a user clicks a map marker in the widget. The Google Map custom widget can be added to a document and displayed in Interactive Mode, Express Mode, or Flash Mode in Web, or used to display a report as a Google Map widget. For background information and steps to enable the custom Google Map widget to be displayed in Web, see the GIS Integration Help.

To add a Google Map visualization to a Visual Insight analysis

Prerequisites

  1. Click the name of the analysis to run it.

  2. From the analysis toolbar, click the Add Visualization icon Add icon, then select Google Map.

  3. From the Dataset Objects panel, click and drag the attribute that contains the latitude information to the Latitude area in the Drop Zones panel.

  4. From the Dataset Objects panel, click and drag the attribute that contains the longitude information to the Longitude area in the Drop Zones panel.

  5. You can use static images as map markers for locations displayed in the Google Map visualization, or display the map markers as dynamic bubbles. The size of each dynamic bubble is automatically based on the value of the first metric in the Color By area of the Drop Zones panel. From the Drop Zones panel, perform the following steps:

    1. Hover the cursor over the name of the Color By area, then click the arrow icon to the right. From the list of options, select one of the following:

    2. From the Dataset Objects panel, click and drag the metrics you want to use to display the map markers to the Color By/Size By area in the Drop Zones panel. The first metric displayed in this area is used to display map markers in the widget. You can click and drag the names of the metrics to rearrange them.

    3. You can display the map markers in different colors or replace the map markers with different images based on the value of the metric. To do so, you must define a threshold on the metric used to display the map markers. Click the arrow icon to the right of the metric in the Color By/Size By area, then select Thresholds. The Thresholds dialog box opens. Select the appropriate options to define a threshold on the metric. Detailed steps to define the threshold are below.

  6. By default, when a user hovers the cursor over a map marker in the widget, an Information Window containing additional information about the location is displayed. You can include additional attributes to be displayed in the Information Window. To do so, from the Dataset Objects panel, click and drag the attributes you want to display to the Additional Attributes area in the Drop Zones panel.

  7. To save your analysis, click the Save icon Save As icon. The Save As dialog box is displayed.

  8. Navigate to the location in which you want to save the analysis, then type a name and description for the analysis in the Name and Description fields.

To define a threshold in a Google Map visualization

Prerequisite

  1. From the Drop Zones panel, hover the cursor over the name of the metric in the Color By/Size By area, then click the arrow icon on the right. A list of options is displayed.

  2. Select Thresholds. The Threshold dialog box opens.

  3. From the Show drop-down list, select the type of threshold you want to define, as follows:

  4. From the Based on drop-down list, select the metric to use to define the threshold.

  5. From the second drop-down list, select one of the following:

  6. Each band displayed in the dialog box represents a different range of values. You can click and drag an indicator left or right along the slider to increase or decrease the range of values covered by the band.

    Example of the slider in the Threshold dialog box

  7. Do one of the following:

  8. Click OK. The threshold is created.

By default, the names and values of attributes and metrics added to the visualization are displayed in the Information Window. You can customize the display by adding HTML, plain text, or attribute and metric values to the Information Window.

To edit the contents of the Information Window displayed when the cursor is hovered over a map marker in the widget

  1. From the Google Map's toolbar, click the Edit Information Window iconEdit Information Window icon. The Edit Custom Info Window dialog box opens.

  2. In the field, type the text you want to display in the Information Window, as follows:

  3. Click OK. Your changes are saved.

Related topic