[mapguide-users] Labeling for Polygons with SimpleSymbolDefinition

David Anderson da at donnellandallred.com
Mon Feb 22 12:36:26 EST 2010


I am trying to get labeling to show for a polygon layer using a SimpleSymbolDefinition setup but have been unable to do so.  I can get paths to draw but not text.  My symbol definition is as follows:

<?xml version="1.0" encoding="UTF-8"?>
<SimpleSymbolDefinition xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xsi:noNamespaceSchemaLocation="SymbolDefinition-1.1.0.xsd" version="1.1.0">
  <Name>Zone Label</Name>
  <Graphics>
    <Text>
      <Content>'ZONE'</Content>
      <FontName>Arial</FontName>
      <Height>4</Height>
    </Text>
  </Graphics>
  <AreaUsage>
    <RepeatX>5</RepeatX>
    <RepeatY>5</RepeatY>
  </AreaUsage>
  <ParameterDefinition />
</SimpleSymbolDefinition>

My 

David Anderson, P.E.
Donnell & Allred, Inc.
908 Big Horn Ave
P.O. Box 638
Worland, WY  82401
307-347-8276
307-347-8277 fax
da at donnellandallred.com



More information about the mapguide-users mailing list