Managing Device Types for Agents

Configuring Advanced Options for Mapping and Spatial Information 20-3 To manually edit the settings for configuring map views: 1. Open the instanceconfig.xml file for editing, as described in Section 3.6, Where Are Configuration Files Located? 2. Search for the SpatialMaps section, in which you must add the following elements: ■ ColocatedOracleMapViewerContextPath — Specifies the context path of the MapViewer instance that is co-located with Oracle BI EE. The default value is mapviewer. ■ RemoteOracleMapViewerAbsoluteURL — Specifies the URL of the remote MapViewer instance. This element has no default value. If this element has no value, then the system assumes that the map rendering engine is the co-located MapViewer instance such as mapviewer. If this element has a value, then the co-located MapViewer acts as proxy for all requests for the remote server. The following example shows a sample value: RemoteOracleMapViewerAbsoluteURLhttp:remoteserver:9704mapviewer RemoteOracleMapViewerAbsoluteURL ■ MaxRecords — Specifies the maximum number of records that can be included in a layer on the map. The setting applies to all layers on the map and overrides the MaxVisibleRows element that applies to data cubes. The default value is 500. If the format for a layer causes this value to be exceeded, then a warning message is displayed. The parent element is LayerDataLayout. ■ MaxColumns — Specifies the maximum number of slices and bars generated for pie and bar graphs on the map. The setting applies to all layers on the map and overrides the MaxVisibleColumns element that applies to data cubes. The default value is 300. If the format for a layer causes this value to be exceeded, then an error message is displayed instead of the map. The parent element is LayerDataLayout. ■ SyndicatedOracleMapViewerContextPath — Specifies the URL of the MapViewer instance for embedding maps in external pages. For details and an example, see Section 20.4, Configuring Maps for External Consumption. 3. Include the elements and their ancestor elements as appropriate, as shown in the following example. ServerInstance SpatialMaps ColocatedOracleMapViewerContextPathmapviewerColocatedOracleMapViewer ContextPath RemoteOracleMapViewerAbsoluteURLRemoteOracleMapViewerAbsoluteURL LayerDataLayout MaxRecords600MaxRecords MaxColumns400MaxColumns LayerDataLayout SpatialMaps ServerInstance 4. Save your changes and close the file. 5. Restart Oracle Business Intelligence. 20-4 System Administrators Guide for Oracle Business Intelligence Enterprise Edition

20.3 Inserting Text on a Map

You can add any text, such as a copyright string, to the tile layer definition of a map. The text is automatically updated on the map in Oracle BI EE when a tile layer is added or deleted or becomes invisible. The position of the text is also automatically adjusted when the user minimizes, restores, or removes the overview map. Figure 20–2 shows an example of a copyright string on a map. The string is in the lower-right corner. Figure 20–2 Copyright String on a Map To insert text in the tile layer definition on a map: 1. Create the tile layer. For information, see Oracle Fusion Middleware Users Guide for Oracle MapViewer.

2. Edit the tile layer definition by selecting it and clicking the Edit View Details

button.

3. On the Edit page, enter the appropriate text in the Copyright text field.

For example, the following code displays the copyright line that is shown in Figure 20–2 . copyrightMap data © 2010, NAVTEQcopyright

4. Click the Submit button to save your changes.

5. If you do not see the updated text on the map, then click the browsers Refresh

button to refresh the map.

20.4 Configuring Maps for External Consumption

You can embed map views in external pages, such as those from Oracle Portal, after setting the appropriate configuration options. To embed views that are hosted in a separate Web application server, you can follow the proxy rules that are outlined in the previous sections. Because of browser restrictions, install the MapViewer instance in the same application server as external pages or portals. The proxy context path of the MapViewer instance that is installed in the Web application server that hosts external pages can differ from the application server that is hosting content for Oracle BI EE. In