Hi Mikael,
You can use the MWS file to create a valid wms config file containing Labels.
Open a tab file in Workspace manager. Apply labels. Save the mws file. Open the created mws file in Notepad and see all the tags are available. These tags needs to be converted to WMS schema. You can refer to the Developer Guide pdf for reference which comes with mapXtreme installation.
Refer to "Using a MapXtreme Workspace to Build a WMS Configuration File" section in "MapXtreme_DeveloperGuide.pdf", which can be found at installation path.
Hope that answers your query.
------------------------------
Dinesh Ahuja
PITNEY BOWES SOFTWARE
NOIDA
------------------------------
Original Message:
Sent: 09-23-2021 10:30
From: Mikael Johansson
Subject: WMS-Labellayer in MapXtreme 9
Hello.
I have problem showing labellayers when creating WMS-layers on my WMS-server.
To show ordinary features i use this:
<mxp-wms:WmsLayer queryable="false">
<mxp-wms:Name>Inside_kommunikationsnoder</mxp-wms:Name>
<mxp-wms:Title>Inside_kommunikationsnoder</mxp-wms:Title>
<mxp-wms:Abstract>Inside_kommunikationsnoder</mxp-wms:Abstract>
<mxp:FeatureLayer id="id8" name="Inside_kommunikationsnoder" alias="Inside_kommunikationsnoder" volatile="unknown">
<mxp:Visibility visible="true">
<mxp:VisibleRange enabled="false">
<mxp:ZoomRange uom="mapinfo:length mi" minInclusive="true" maxInclusive="false">0 0</mxp:ZoomRange>
</mxp:VisibleRange>
</mxp:Visibility>
<mxp:DataSourceRef ref="id3" />
</mxp:FeatureLayer>
</mxp-wms:WmsLayer>
How do I create a labellayer to this layer?
Thanks in advance.
Mike - Hawkeye Computing
------------------------------
Mikael Johansson
Hawkeye Computing AB (OEM)
Stockholm
------------------------------