You can display your data as locations on an interactive map using the Google Map visualization on a dashboard. For example, you can create a Google Map visualization that displays how customer households are clustered in different parts of the country using a density map, or display retail locations as a series of map markers that users can click to view additional information about stores in their area.
You can display data in a Google Map visualization in the following ways:
Map markers are ideal when you want to display an individual map marker for each geographic location. You can display map markers as static image markers or bubble markers:
Image markers are fixed size images that mark locations on the map. You can color image markers or replace image markers in the map with a different image based on the value of a metric.
Bubble markers provide two visual cues to help users analyze data displayed on a map: size and color. You can choose to size each bubble marker in the map based on the value of a metric, with the largest bubbles being displayed for the largest metric values. You can have bubble markers colored based on the value of a metric.
A density map helps users understand patterns and trends for many geographic locations by displaying color gradients based on the concentration of geographic data. For example, you can display locations with a high concentration of stores in red, and locations with a low concentration of stores in blue, as shown in the example below.
This topic contains details and information to use the out-of-the-box Google Map visualization provided with the application. Before you can create a Google Map visualization, you must enable Google Map visualizations for Visual Insight.
To display map markers or a density map in the Google Map visualization, you must provide the latitude and longitude of each location in the map. You can provide this data in the following ways:
During the Data Import process, you can define an attribute and assign it a geo role to identify what type of geographic information it contains. For example, you can create an attribute called City, which contains the names of multiple cities, then assign it the City geo role. Web automatically creates the City attribute with the attribute forms Latitude and Longitude, which contain the latitude and longitude of each city. You can then use the City attribute to provide latitude and longitude information for locations in the map. Web automatically adds latitude and longitude information as attribute forms to data columns with the Country, State, Zip Code, City, or Location geo roles. You can select which attribute forms are displayed in the map; for steps, see Selecting which attribute forms to display in a visualization.
You can also assign
an attribute the Latitude or Longitude geo role to identify it as containing
latitude or longitude information. The attribute can then be used to provide
geographic information for locations in the map, as described in the prerequisites
below.
For background information on importing data into the application, including
steps to assign a geo role to an attribute, see About
importing data.
Your administrator can create attributes containing location data to support the Google Map visualization using the same steps they would use to create data to support the Map widget.
This procedure assumes that the dashboard's dataset provides the geographic location of each location in the map in one of the following ways:
One attribute that contains the latitude and longitude of each location in the Latitude and Longitude attribute forms. For example, you can provide an attribute that has been assigned the Country, State, Zip Code, City, or Location geo roles.
Two separate attributes, as follows:
The first attribute contains the latitude of each location. For example, you can provide an attribute that has been assigned the Latitude geo role.
The second attribute contains the longitude of each location. For example, you can provide an attribute that has been assigned the Longitude geo role.
This procedure assumes that the Google Map visualization has already been enabled for Visual Insight.
You must have the Edit Dashboard and Run Dashboard privileges.
To create and add a Google Map visualization to a dashboard:
Click the name of the dashboard to run it.
From the toolbar, click the Insert Visualization icon . A new blank visualization
is added to the dashboard and displayed.
From the Visualization Gallery, click the Google Map icon. Note: If the Visualization Gallery is not displayed, from the View menu, select Visualization Gallery.
If the Properties panel is not
displayed, from the View menu,
select Properties Panel. If
the Properties panel is hidden behind another panel, click the Properties icon
to display the Properties panel.
In the Properties panel, from the Map Style drop-down list, select the display theme to apply to the map, such as Street Map or Terrain Map.
From the Map Type drop-down list, select one of the following:
To display a map with markers, select Marker.
To display a density map, select Density.
If you selected the marker map type, select the type of map marker to display from the Marker Type drop-down list, as follows:
To display bubble markers, select Bubbles.
To display pins, select Pins.
If you selected the density map type, under Color Bands, select the color theme to use to show locations on the map. For example, to display areas with a low density of locations of interest as blue, and areas with a high density as red, select the color theme that changes from blue to red.
You can determine whether or not a legend is displayed for the map. The legend shows the relationship between the color of each marker and the metric value for that location. Do one of the following:
To display the legend, select the Show Legend check box.
To hide the legend, clear the Show Legend check box (default).
To display the Editor panel, from
the View menu, select Editor Panel. If the Editor panel
is hidden behind another panel, click the Editor
icon
to display the Editor panel.
If the Datasets panel is not displayed, from the View menu, select Datasets Panel.
From the Datasets panel, click and drag dataset objects to the appropriate area in the Editor panel by doing one of the following:
To use attribute forms to provide the locations in the map, click and drag the attribute that contains the latitude and longitude information to the Geo Attribute area. Web automatically detects the Latitude and Longitude attribute forms and displays their names in the Latitude and Longitude areas. Steps to select which attribute forms to display in the map are included in this procedure. For example, you can display the attribute’s description form but not the latitude and longitude forms.
To use attributes to provide the locations in the map, perform the following steps:
Click and drag the attribute that contains the latitude information to the Latitude area.
Click and drag the attribute that contains the longitude information to the Longitude area.
Note: You can also drag objects from the Datasets panel directly onto the visualization.
If you selected the marker map type, you can color the map markers based on the value of a metric. From the Datasets panel, click and drag the metric to the Color By area.
You can customize the colors used to display map markers or replace image markers with a different image based on the value of the metric in the Color By area. To do so, you must define a threshold on the metric used to display the map markers. In the Color By area, right-click the metric and select Thresholds. The Thresholds Editor opens. Select the appropriate options to define the formatting to apply to the map markers.
If you have chosen to display bubble markers in the visualization, you can size the bubble markers based on the value of a metric, with the largest bubbles being displayed for the largest metric values. From the Datasets panel, click and drag the metric to use to size the bubble markers to the Size By area.
By default, when a user clicks a location in the map, a tooltip containing additional information about the location is displayed. You can include the values of additional dataset objects, such as related attributes and metrics, in the tooltip. To do this, from the Datasets panel, click and drag the dataset objects to the Tooltip section.
For each attribute in the Editor panel, you can select which attribute forms are displayed in the map. An attribute form is a descriptive category for an attribute. For a more detailed description, including how to select what attribute information to display in the headers, see Selecting which attribute forms to display in a visualization.
To select the attribute forms, in the Editor panel, right-click the attribute and point to Display Attribute Form. Select one of the following:
To display an attribute form in the map, select the check box next to its name.
To hide an attribute form in the map, clear the check box next to its name.
Click the Save
icon
to save your changes.
Dashboard Editor: Google Map: Properties
_____________________________
Copyright © 2019, Oracle and/or its affiliates. All rights reserved.
Legal Notices