The <WMS-PORTAL-RESOURCE> element is used to define a list of pre-selected WMS services for
display in the Add Portal Layer page (imfAddPortalLayers.jsp). To add this process to your site,
add something like the following to your site configuration file:
<TAB name="Add Layers"
url="$IMF/imfAddPortalLayers.jsp"
target="dataFrame"
hint="Add Layers"
status="Adds a WMS layer to the map."
graphic="$IMF/tabs/27/ltblue/en/layers53x27.gif"
width="53" height="27"/>
| Frequency |
Parent Elements (this element is valid within): |
|
PO+ |
<SITE-CONFIG> |
| |
|
|
|
Attributes |
Description |
|
name |
A descriptive name to display in the Add Portal Layers selection box. Required.
|
|
url |
The complete URL to the WMS service's capabilities response page. Required.
|
| |
|
|
| Frequency |
Description (in this context) |
|
PO+ |
The <WMS-PORTAL-RESOURCE> element is optional, and may appear one or more
times within the <SITE-CONFIG> element in the specified sequence. |
| |
|
|
Example:
<WMS-PORTAL-RESOURCE name="CA Bird Studies Canada" url="http://www.bsc-eoc.org/cgi-bin/bsc_ows.asp?SERVICE=WMS&REQUEST=GetCapabilities"/>
<WMS-PORTAL-RESOURCE name="CA BC Sustainable Resource Managmement" url="http://broil.gov.bc.ca/wmsconnector/com.esri.wsit.WMSServlet/ogc_layer_service?REQUEST=GetCapabilities"/>