MapTest

Displays WMS and ArcGIS REST map services as map overlays. Supports debugging errors and testing map request performance.

Map Service Configuration

Configure via URL

Basic configuration can be loaded via URL parameters.
http://apphost/maptest.html 
         [ ?host=http://some.host/mapservice ] 
         [ &tile=t ] 
         [ &lyr=LYRA,LYRB,LYRC ] 
         [ &extent=MIN_LON,MIN_LAT,MAX_LON,MAX_LAT ]

The Permalink link opens a new page with the top map overlay as parameters.

Configure via Text

Map services are configured by a simple line-oriented text configuration format. The configuration schema supports the following: Multiple services can be configured, separated by a blank line.

Example: Text Configuration for a single map service

# This is a comment
// This is another comment
http://some.host/mapservice
name: Some Mapservice
meta-url: http://some.host/mapservice/meta
tile: t
param: name=value
param: name2=value2
LAYER1,LAYER2
LAYER3+
LAYER4*STYLE

Configure Layers via WMS Capabilities UI

The layers can be configured by a UI dialog driven from the WMS capabilities requested from a service.

User Interface

Overlays & Layers

Add Request Parameters

Click to display a text input for specifying additional request parameters. Reload map to apply the parameters.

Examples:

Add Layers from WMS Capabilities

Click to open WMS Layers panel.

Request Status

Click to display the Request panel.

WMS Proof Sheet

Click to display a WMS Proof Sheet in a new window. The Proof sheet shows images and legends of visible layers. The Proof sheet can be converted to a savable HTML file.

Add Layers via text entry

Add layers to an overlay by entering one or more layer names (comma-separated) and clicking button.

Extent

Enter an extent in the zoom box and click Zoom.

Auto-Reload

Check Auto to auto-reload visible overlays with a set frequency. This collects load time statistics and allows assessing performance under load.

Logging

Enable logging to log all map requests.

Request Panel

WMS tab

Displays a WMS request URL based on the current map view.

Issues the request and displays information about the response. image/png indicates a successful reponse. Some kinds of response errors can be displayed.

The URL can be edited. A link is provided to allow invoking the URL in a new browser window, or for copying the edited URL.

WFS tab

Displays a WFS request URL based on the current map view.