LineLinkageLayer in Named Map

Example

This is an example of a named map with a LinkLinkageLayer named World Countries.

<NamedMapDefinition version="MXP_NamedResource_1_5" xmlns:gml="http://www.opengis.net/gml" xmlns="http://www.mapinfo.com/mxp" >
	<ConnectionSet/>
	<DataSourceDefinitionSet>
		<NamedDataSourceDefinitionRef id="id1" resourceID="/Samples/NamedTables/WorldTable"/>
		<NamedDataSourceDefinitionRef id="id2" resourceID="/Samples/NamedTables/FlightsTable"/>
	</DataSourceDefinitionSet>
	<MapDefinition id="id3" 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>
			<LineLinkageLayer id="id5" name="World Countries" alias="world_linelinkage" volatile="unknown">
				<Visibility visible="true">
					<VisibleRange enabled="false">
						<ZoomRange uom="mapinfo:length mi">0 0</ZoomRange>
					</VisibleRange>
				</Visibility>
				<GeometryTable>
					<DataSourceRef ref="id1" />
				</GeometryTable>
				<LinkageTable>
					<DataSourceRef ref="id2" />
				</LinkageTable>
				<SourcePointStyle>
					<NamedStyleRef resourceID="/Samples/NamedStyles/PointStylePin"/>
				</SourcePointStyle>
				<DestinationPointStyle>
					<NamedStyleRef resourceID="/Samples/NamedStyles/PointStyleStar"/>
				</DestinationPointStyle>
				<RelationshipExpression>Country</RelationshipExpression>
				<MetricExpression>Metric</MetricExpression>
				<SourceExpression>Source_Airport</SourceExpression>
				<DestinationExpression>Destination_Airport</DestinationExpression>
			</LineLinkageLayer> 
			<FeatureLayer id="id4" name="World" alias="world_feature" volatile="unknown">
				<DataSourceRef ref="id1"/>
			</FeatureLayer>
		</LayerList>
	</MapDefinition>
</NamedMapDefinition>