Orientation Modes

In this section:

The WebFOCUS GIS Adapter allows the developer to build applications that enable the users to operate in the orientation they are most comfortable with. It is possible to develop the application to use independent browser sessions for displaying reports and maps. The adapter is flexible enough for the developer to construct a frameset that combines both the report and the map display in the same browser window. This is very useful when integrating the GIS adapter capabilities within a portal environment.


Top of page

x
Operational Flow - General

When the WebFOCUS GIS Adapter is invoked, one of the first steps it performs is to access the XML definition file. The adapter parses the XML and uses the information provided to generate JavaScript® objects and methods that are returned to the browser. The JavaScript that is returned is vital to the operation of the Map View Manager, as well as any browser sessions used for report viewing.


Top of page

x
Operational Flow - WebFOCUS Map View Manager

JavaScript

Accessing the default map is accomplished by navigating to a different URL. For example:

http://xyz.com/ibi_apps/esri/esri_index.jsp?IBIAPP_app=CRIME&

FLEX/Flash

Accessing the default map is accomplished by navigating to a different URL. For example:

http://xyz.com/ibi_apps/esri/ flexmapviewer/FlexMapViewer.jsp?IBIAPP_app=CRIME&

The developer can also designate a default map rendering FOCEXEC to be executed in order to have the initial view of the map displayed according to the results.

The WebFOCUS Map View Manager is a self contained JSP-based application. The options for zoom-in, zoom-out, and map panning, as well as report and data selection are provided by the application and are driven by the values supplied in the XML definition file. For more information, see Using the WebFOCUS GIS Viewer for Flex.


Top of page

x
Operational Flow - WebFOCUS Application

The developer can designate a default report (FOCEXEC) to be executed in the application definition file. To access the default report is simply a matter of navigating to a URL. For example:

http://xyz.com/approot/CRIME/esri_rptdefault.htm

Once the report has displayed, drill-down options are available. These can be rendered using any HTML capability that can accommodate a JavaScript action. Various JavaScript functions have been developed to enable the drill down integration between reports and maps. These functions depend on the JavaScript objects and methods that are available. Standard WebFOCUS drill-down facilities may be employed if the report to be displayed will not offer the option of drilling down to a map.


Top of page

x
Map Rendering Capabilities

The following shapes are generated by the ArcGIS Server map server:

The WebFOCUS GIS Adapter automatically recognizes which shape is being rendered and can apply various formatting styles that are controlled by the developer. All of the standard HTML color styles can be applied to rendered maps.

Lines and polygons allow the developer to choose which colors are used when being rendered. Points on the map can be rendered using a wider variety of attributes. The developer can control the shape and size, as well as the color of the point. The following shapes can be used:

More complex map rendering can be specified:


Top of page

x
Identify Functionality

In some cases, you may not want to run an extensive report only to display specific information about a single point on a map. For these quick hit types of requests, the WebFOCUS GIS Adapter now supports simple WebFOCUS requests where the answer displays as a dynamic output area within the Map View Manager.


Top of page

x
Run Map Procedure

To change the rendering style portrayed by the Map View Manager, you can execute map rendering procedures using the same methods as report procedures. The key difference is that the user will not explicitly select features from the map as they do for a report. Instead the visible portion of the map will be used as the selection coordinates.


WebFOCUS