Layer With Named Label Sources

Example

This is an example of a named layer definition for a LabelLayer that contains named label sources in a list.

Note: The sample named label sources in this example will be provided in the /Samples folder as part of the version 12.0 release of Spectrumâ„¢ Technology Platform. For the 11.0 SP1 version, use WebDAV to copy the samples from the 11.1 S12 patch zip or tar file to your repository.


<?xml version="1.0" encoding="UTF-8"?>
<NamedLayer version="MXP_NamedResource_1_5" xmlns="http://www.mapinfo.com/mxp">
	<ConnectionSet/>
	<DataSourceDefinitionSet/>
	<LabelLayer id="id0" name=" District of Columbia DC Labels" alias="dcwashlabels" volatile="unknown">
		<Visibility>
			<VisibleRange xmlns="http://www.mapinfo.com/mxp" enabled="false">
				<ZoomRange uom="mapinfo:length mi" minInclusive="true" maxInclusive="false">0 0</ZoomRange>
			</VisibleRange>
		</Visibility>
		<LabelSourceList>
			<NamedLabelSourceRef id="id1" resourceID="/Samples/NamedLabelSources/DCInterstateShields0to5miLabelSource"/>
			<NamedLabelSourceRef id="id2" resourceID="/Samples/NamedLabelSources/DCInterstateShields5to15miLabelSource"/>
			<NamedLabelSourceRef id="id3" resourceID="/Samples/NamedLabelSources/DCInterstateShields15to50miLabelSource"/>
			<NamedLabelSourceRef id="id4" resourceID="/Samples/NamedLabelSources/DCUSShields0to5miLabelSource"/>
			<NamedLabelSourceRef id="id5" resourceID="/Samples/NamedLabelSources/DCUSShields5to15miLabelSource"/>
			<NamedLabelSourceRef id="id6" resourceID="/Samples/NamedLabelSources/DCUSShields15to50miLabelSource"/>
			<NamedLabelSourceRef id="id7" resourceID="/Samples/NamedLabelSources/DCStateShields0to5miLabelSource"/>
			<NamedLabelSourceRef id="id8" resourceID="/Samples/NamedLabelSources/DCStateShields5to15miLabelSource"/>
			<NamedLabelSourceRef id="id9" resourceID="/Samples/NamedLabelSources/DCGazetteer7LabelSource"/>
			<NamedLabelSourceRef id="id10" resourceID="/Samples/NamedLabelSources/DCGazetteer6LabelSource"/>
			<NamedLabelSourceRef id="id11" resourceID="/Samples/NamedLabelSources/DCGazetteer5LabelSource"/>
			<NamedLabelSourceRef id="id12" resourceID="/Samples/NamedLabelSources/DCGazetteer4LabelSource"/>
			<NamedLabelSourceRef id="id13" resourceID="/Samples/NamedLabelSources/DCGazetteer3LabelSource"/>
			<NamedLabelSourceRef id="id14" resourceID="/Samples/NamedLabelSources/DCGazetteer2LabelSource"/>
			<NamedLabelSourceRef id="id15" resourceID="/Samples/NamedLabelSources/DCGazetteer1LabelSource"/>
			<NamedLabelSourceRef id="id16" resourceID="/Samples/NamedLabelSources/DCSignPostsLabelSource"/>
			<NamedLabelSourceRef id="id17" resourceID="/Samples/NamedLabelSources/DCLandmarksLabelSource"/>
			<NamedLabelSourceRef id="id18" resourceID="/Samples/NamedLabelSources/DCExpressways2to35miLabelSource"/>
			<NamedLabelSourceRef id="id19" resourceID="/Samples/NamedLabelSources/DCExpressways0to2miLabelSource"/>
			<NamedLabelSourceRef id="id20" resourceID="/Samples/NamedLabelSources/DCPrimaryHighways2to35miLabelSource"/>
			<NamedLabelSourceRef id="id21" resourceID="/Samples/NamedLabelSources/DCPrimaryHighways0to2miLabelSource"/>
			<NamedLabelSourceRef id="id22" resourceID="/Samples/NamedLabelSources/DCSecondaryHighways2to35miLabelSource"/>
			<NamedLabelSourceRef id="id23" resourceID="/Samples/NamedLabelSources/DCSecondaryHighways0to2miLabelSource"/>
			<NamedLabelSourceRef id="id24" resourceID="/Samples/NamedLabelSources/DCRegionalHighways2to35miLabelSource"/>
			<NamedLabelSourceRef id="id25" resourceID="/Samples/NamedLabelSources/DCRegionalHighways0to2miLabelSource"/>
			<NamedLabelSourceRef id="id26" resourceID="/Samples/NamedLabelSources/DCLocalRoutes2to35miLabelSource"/>
			<NamedLabelSourceRef id="id27" resourceID="/Samples/NamedLabelSources/DCLocalRoutes0to2miLabelSource"/>
			<NamedLabelSourceRef id="id28" resourceID="/Samples/NamedLabelSources/DCStreets2to10miLabelSource"/>
			<NamedLabelSourceRef id="id29" resourceID="/Samples/NamedLabelSources/DCStreets0to2miLabelSource"/>
			<NamedLabelSourceRef id="id30" resourceID="/Samples/NamedLabelSources/DCRailroadsLabelSource"/>
			<NamedLabelSourceRef id="id31" resourceID="/Samples/NamedLabelSources/DCRiversLabelSource"/>
			<NamedLabelSourceRef id="id32" resourceID="/Samples/NamedLabelSources/DCLandUseLabelSource"/>
			<NamedLabelSourceRef id="id33" resourceID="/Samples/NamedLabelSources/DCWaterbodiesLabelSource"/>
			<NamedLabelSourceRef id="id34" resourceID="/Samples/NamedLabelSources/DCCitiesLabelSource"/>
			<NamedLabelSourceRef id="id35" resourceID="/Samples/NamedLabelSources/DCCountiesLabelSource"/>
		</LabelSourceList>
	</LabelLayer>
</NamedLayer>