Moxi Media Inc.
<map-service> Discussion Forum

IMF Developer's Guide » Site Configuration » <map-service>  

The <map-service> element is used to specify the ArcIMS service used in producing the main map image. This element is used in conjunction with the <map-server>, <map-servlet> and <map-dataframe> elements.

Frequency Parent Elements (the <map-service> element is valid within):
PRS1 <site-config>
   

Frequency Description (in this context)
PRS1 The <map-service> element must appear exactly once within the <site-config> element in the specified sequence.
   

Attributes Description
name The name of the ArcIMS service used for the main map. Required if this element is used.
   

Examples:

<!-- Standard image map service, default servlet path. -->
<map-server host="someserver.com" />
<map-service name="someservice" />

<!-- Standard image map service, IP instead of host name. -->
<map-server host="123.45.67.89" />
<map-service name="someservice" />

<!-- Standard image map service, aliased servlet path. -->
<map-server host="someserver.com" />
<map-servlet path="/rdir/servlet/com.esri.esrimap.Esrimap" />
<map-service name="someservice" />

<!-- ArcMap service, dataframe required. -->
<map-server host="someserver.com" />
<map-servlet path="/servlet/com.esri.esrimap.Esrimap" />
<map-service name="someservice" />
<map-dataframe name="Layers" />