The Basic Layout Viewer

Tip: The Hello Viewer sample, in the Developer’s Guide samples, demonstrates concepts from this chapter.

The Basic Layout Viewer is a browser-based method for displaying map data in an Infrastructure Map Server application. It is a complete application, with support for standard mapping functionality like zooming, theming, and selecting features. It runs within Internet Explorer, Mozilla Firefox, Google Chrome, and Apple Safari, without requiring a browser plug-in.

Most Infrastructure Map Server applications display a map, though it is possible to create applications that perform data analysis or manipulation but do not display anything. For example, an Infrastructure Map Server application can be used as a back-end to another mapping application.

The Viewer displays a map along with the following optional components surrounding the map:

Basic Viewer

The tool bar, task list, task pane, and context menu can contain a combination of pre-defined and custom Infrastructure Map Server commands.

A web layout defines how the Viewer looks and operates for a map. One function of a web layout is to define which optional components display with the map. All of the optional components can be disabled, leaving just the map itself.

The web layout also defines any custom functionality added to the web page through custom commands.