Configure MapViewer to Support Map Views

Oracle Fusion Middleware MapViewer is installed as part of Oracle Analytics Server and deployed in the same BI domain on the web application server.

The default context path of MapViewer in the application server is /mapviewer. You must use the administration console in MapViewer to configure it for use with map views. .

You can configure a separate remote instance just for MapViewer to act as a proxy that supports the heavy processing load that maps require. If performance isn't a major concern, then you can use a MapViewer instance that's co-located with Oracle Analytics Server as the rendering engine.

The MapViewer engine can serve in the following roles:

  • Co-located MapViewer — Also known as nonproxy mode. If the MapViewer is located in the BI domain and used as the rendering engine, then all map resources (such as JavaScript files and images) are downloaded from that instance of MapViewer.

  • Remote MapViewer — Also known as proxy mode. If a separate remote instance of MapViewer is configured as the rendering engine, then the browser can't communicate with the remote instance for resources. Browsers don't permit cross-domain AJAX calls for security reasons. To overcome this limitation, all requests are first forwarded to the co-located MapViewer, which in turn communicates with the actual remote instance.

    Complete the following steps to configure for a remote MapViewer:

    • Edit the RemoteOracleMapViewerAbsoluteURL element in the instanceconfig.xml file, as described in Manually Configure Map Views.

    • Edit the proxy_enabled_hosts element in the mapViewerConfig.xml configuration file for MapViewer to point to the MapViewer on the remote server, as shown in the following example:

        <security_config>
          <proxy_enabled_hosts>http://remoteserver:9704/mapviewer</proxy_enabled_hosts>
        </security_config>
      

      The mapViewerConfig.xml file is located in the following directory:

      ORACLE_BI1\bifoundation\jee\mapviewer.ear\web.war\WEB_INF\conf

    Note:

    If you edit the mapViewerConfig.xml file, then your edits are overwritten when you upgrade or patch Oracle Analytics Server. Before upgrading or patching, ensure that you make a backup copy of the mapViewerConfig.xml file. When the upgrade or patch operation is complete, copy the backed-up file to its original location. After copying the file, restart the server for MapViewer so that map views are displayed properly in analyses and dashboards in Oracle Analytics Server.