[mapguide-users] Draw order (Label versus Symbol) - Bug or Enhancement

pcardinal pierre.cardinal at sympatico.ca
Sat Jan 16 10:39:08 PST 2016


MGOS 3.0 Under Windows Server 2008
Fusion Viewer


I have a layer with a label which is lower, according to the draw order of
the layers, than the layer with  a symbol, but the label (text) is always 
drawn over the symbol (circle).  Consequently, it is impossible to overpost
the label  with the symbol.  Is it a bug?


<http://osgeo-org.1560.x6.nabble.com/file/n5245665/mgos_text_label_under_symbol.jpg> 


The symbol has a background color which is not transparent:

     <PointSymbolization2D>
            <Mark>
              <Unit>Points</Unit>
              <SizeContext>DeviceUnits</SizeContext>
              <SizeX>7.5</SizeX>
              <SizeY>7.5</SizeY>
              <Rotation>0</Rotation>
              <Shape>Circle</Shape>
              <Fill>
                <FillPattern>Solid</FillPattern>
                <ForegroundColor>FF0000FF</ForegroundColor>
                <BackgroundColor>FF0000FF</BackgroundColor>
              </Fill>
              <Edge>
                <LineStyle>Solid</LineStyle>
                <Thickness>1</Thickness>
                <Color>ff000000</Color>
                <Unit>Points</Unit>
                <SizeContext>MappingUnits</SizeContext>
              </Edge>
            </Mark>
          </PointSymbolization2D>

The label has the following config:

          <Label>
            <Unit>Meters</Unit>
            <SizeContext>MappingUnits</SizeContext>
            <SizeX>5</SizeX>
            <SizeY>5</SizeY>
            <Rotation>direction/3.141569*180</Rotation>
            <Text>nolot</Text>
            <FontName>Arial</FontName>
            <ForegroundColor>ff000000</ForegroundColor>
            <BackgroundColor>ffffffff</BackgroundColor>
            <BackgroundStyle>Transparent</BackgroundStyle>
            <AdvancedPlacement>
              <ScaleLimit>0.5</ScaleLimit>
            </AdvancedPlacement>
          </Label>








--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Draw-order-Label-versus-Symbol-Bug-or-Enhancement-tp5245665.html
Sent from the MapGuide Users mailing list archive at Nabble.com.


More information about the mapguide-users mailing list