Group Layer Definition - Latest

Spectrum Spatial Guide

Product type
Software
Portfolio
Locate
Product family
Spectrumâ„¢ software
Product
Spectrumâ„¢ software > Spatial > Spectrum Spatial
Version
Latest
ft:locale
en-US
Product name
Spectrum Technology Platform
ft:title
Spectrum Spatial Guide
Copyright
2025
First publish date
2007
ft:lastEdition
2025-03-07
ft:lastPublication
2025-03-07T10:28:48.112000

Example

This is an example of a named layer definition that contains a named group layer.

In this example, the definition defines the attributes of a LayerGroup named WorldGroupLayer.

<?xml version="1.0" encoding="UTF-8"?>
<NamedLayer version="MXP_NamedResource_1_5" xmlns="http://www.mapinfo.com/mxp" >
	<ConnectionSet />
	<DataSourceDefinitionSet />
	<LayerGroup id="id3" name="WorldGroupLayer" alias="GroupLayerWithNamedLayers">
		<LayerList>
			<NamedLayerRef name="Grid" resourceID="/Samples/NamedLayers/Grid15FeatureLayer"/>
			<NamedLayerRef name="World" resourceID="/Samples/NamedLayers/WorldFeatureLayer"/>
			<NamedLayerRef name="Ocean" resourceID="/Samples/NamedLayers/OceanFeatureLayer"/>
		</LayerList>
	</LayerGroup>
</NamedLayer>