You can add a Map visualization to a Visual Insight quick dashboard, to display your data as map markers on an interactive map. You can use the visualization to:
Filter the map markers shown in the visualization by selecting map markers for which to display data.
Display map markers as static images in the visualization, or display the map markers as dynamic bubbles. If you choose to display the map markers as dynamic bubbles, the size of each dynamic bubble is automatically determined based on the value of the metric used to display the map markers, with the largest bubbles being displayed for the largest metric values.
Display Information Windows with additional information about a location when the user hovers the cursor over a map marker in the visualization.
In order to display map markers in the Map visualization, you must provide the latitude and longitude of each map marker using attributes or attribute forms. You can provide this data in the following ways:
During the Import Data process, you can define an attribute and assign it a geo role to identify what type of geographical 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. XBRi 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 map markers in the visualization. XBRi 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 also use attributes that have been assigned the Latitude or Longitude geo roles to provide geographical information as attributes, as described in the prerequisites below. For background information on importing data into XBRi, 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 Map visualization using the same steps they would use to create data to support the Map widget.
This procedure assumes that the quick dashboard's dataset already contains one or more attributes that provide the geographical location of each map marker in the Map visualization. The attributes must provide this information in one of two ways:
To provide the geographical information using attributes, you must provide two separate attributes, as follows:
You must provide one attribute that contains the latitude of each map marker. For example, you can provide an attribute that has been assigned the Latitude geo role.
You must provide one attribute that contains the longitude of each map marker. For example, you can provide an attribute that has been assigned the Longitude geo role.
To provide the geographical information using attribute forms, you must provide one attribute, which contains the latitude and longitude of each map marker 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.
You must register your customer domain with Google and obtain a Google Maps API key.
You must deploy and configure the Google Map Connector plugin.
You must have Edit Dashboard and Run Dashboard privileges.
To add a Map visualization to a Visual Insight quick dashboard:
Click the name of the quick dashboard to run it.
To add a new visualization to the quick dashboard, from the toolbar, click the Insert Visualization icon . Click Select Visualization. The Select a Visualization dialog box is displayed. Click the Map icon to display a row of icons representing different visualization subtypes. From the newly displayed row of icons, click the Map icon.
From the Dataset Objects panel, click and drag attributes to the appropriate area in the Map panel by doing one of the following:
To provide the locations in the visualization using attributes, 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.
To provide the locations in the visualization using attribute forms, click and drag the attribute that contains the latitude and longitude information to the Geo Attribute area. XBRi automatically detects the Latitude and Longitude attribute forms and displays their names in the Latitude and Longitude areas.
You can use static images as map markers for locations displayed in the 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 Map panel. From the Map panel, perform the following steps:
From the Color By area, select one of the following:
To display the map markers as images, click the Color By icon .
To display the map markers as dynamic bubbles, click the Size By icon . The Color By area is renamed to the Size By area.
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 Map panel. The first metric displayed in this area is used to display map markers in the visualization. You can click and drag the names of the metrics to rearrange them.
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. In the Color By/Size By area, click the Thresholds icon . The Thresholds dialog box opens. Select the appropriate options to define a threshold on the metric. For detailed steps to define the threshold, see Formatting a Map visualization.
By default, when a user hovers the cursor over a map marker in the visualization, 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 Tooltip area in the Map panel.
To save your quick dashboard, click the Save As icon . The Save As dialog box is displayed.
Navigate to the location in which you want to save the quick dashboard, then type a name and description for the quick dashboard in the Name and Description fields.
Click OK. The quick dashboard is saved.
Related topics
Formatting a Map visualization
_____________________________
Copyright © 2019, Oracle and/or its affiliates. All rights reserved.
Legal Notices