[mapguide-users] Re: Change background on dynamic polygon

Jamo adam.jamison at portbris.com.au
Tue Aug 24 23:27:01 EDT 2010


check the xml scheme for the AreaSymbolization2D here
http://www.osgeo.org/files/mapguide/docs/2.0/xml_schemas/LayerDefinition120/LayerDefinition.htm#element_AreaSymbolization2D_Link06AE0D20

just change the colours to hex values

<ForegroundColor>Transparent</ForegroundColor>
<BackgroundColor>Transparent</BackgroundColor> 

This will give you a 50% transparent green color
<ForegroundColor>AA00FF00</ForegroundColor> 
<BackgroundColor>AA00FF00</BackgroundColor>


First two character refer to transparancey amount in hex AA = 170 amount
which is about 50% of 255....

Owe someone else know more about this and can explain it better :)
-- 
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Change-background-on-dynamic-polygon-tp5455639p5459675.html
Sent from the MapGuide Users mailing list archive at Nabble.com.


More information about the mapguide-users mailing list