Map
Example
This is an example of a named map definition.
<?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 xmlns="http://www.mapinfo.com/mxp"/>
<DataSourceDefinitionSet xmlns="http://www.mapinfo.com/mxp">
<TABFileDataSourceDefinition id="id4">
<DataSourceName>ukcountries</DataSourceName>
<FileName>@INSTALLDIR@/Mapping/uk/ukcountries.TAB</FileName>
</TABFileDataSourceDefinition>
</DataSourceDefinitionSet>
<MapDefinition id="id1" name="ukcountries Map" alias="Map314543944" xmlns="http://www.mapinfo.com/mxp">
<DisplayConditions>
<MapSize uom="mapinfo:imagesize pixel">
<ImageWidth>716</ImageWidth>
<ImageHeight>395</ImageHeight>
</MapSize>
<ZoomAndCenter>
<MapZoom uom="mapinfo:length km">2274.84</MapZoom>
<gml:Point srsName="mapinfo:coordsys 8,79,7,-2,49,0.9996012717,400000,-100000">
<gml:coordinates>317324.464037,602665.592270</gml:coordinates>
</gml:Point>
</ZoomAndCenter>
<DisplayCoordSys>
<SRSName>mapinfo:coordsys 8,79,7,-2,49,0.9996012717,400000,-100000</SRSName>
</DisplayCoordSys>
<ResizeMethod>preserveZoom</ResizeMethod>
<RasterConditions dither="halfTone" trueColor="true" optimizeRasterLayers="screen" optimizeVectorLayers="screen" rasterReprojectionResampling="nearestNeighbor" rasterReprojection="none"/>
</DisplayConditions>
<LayerList>
<FeatureLayer id="id5" name="ukcountries" alias="ukcountries" volatile="unknown">
<Visibility visible="true">
<VisibleRange enabled="true">
<ZoomRange uom="mapinfo:length km" minInclusive="true" maxInclusive="true">39.000000 16000.000000</ZoomRange>
</VisibleRange>
</Visibility>
<DataSourceRef ref="id4"/>
</FeatureLayer>
</LayerList>
</MapDefinition>
</NamedMapDefinition>