Group Layer in Named Map

Example

This is an example of a named map with a named group layer, WorldGroupLayer.

<?xml version="1.0" encoding="UTF-8"?>
<NamedMapDefinition version="MXP_NamedResource_1_5" xmlns="http://www.mapinfo.com/mxp" xmlns:gml="http://www.opengis.net/gml">
	<ConnectionSet />
	<DataSourceDefinitionSet/>
	<MapDefinition id="id5" name="MyMap" alias="">
		<DisplayConditions>
			<MapSize uom="mapinfo:imagesize pixel">
				<ImageWidth>960</ImageWidth>
				<ImageHeight>800</ImageHeight>
			</MapSize>
			<ZoomAndCenter>
				<MapZoom uom="mapinfo:length mi">28014.44036</MapZoom>
				<gml:Point srsName="mapinfo:coordsys 12,62,7,0">
					<gml:coordinates>-5.4419258,0</gml:coordinates>
				</gml:Point>
			</ZoomAndCenter>
			<DisplayCoordSys>
				<SRSName>mapinfo:coordsys 12,62,7,0</SRSName>
			</DisplayCoordSys>
			<ResizeMethod>preserveZoom</ResizeMethod>
			<RasterConditions dither="halfTone" rasterReprojectionResampling="cubicConvolution" rasterReprojection="none" trueColor="true" optimizeRasterLayers="screen" optimizeVectorLayers="screen"/>
			<RenderingOptions enableOpacity="true" enableAntiAlias="true"/>
		</DisplayConditions>
		<LayerList>
			<NamedLayerRef name="WorldCap" resourceID="/Samples/NamedLayers/WorldcapFeatureLayer"/>
			<NamedLayerRef name="WorldGroupLayer" resourceID="/Samples/NamedLayers/GroupLayer"/>
		</LayerList>
	</MapDefinition>
</NamedMapDefinition>