[mapguide-internals] Fwd: Feature stylization draw order question
Jason Birch
jason at jasonbirch.com
Fri Nov 20 23:41:45 EST 2009
Anyone have an answer to this newbie's question from the -users list?
---------- Forwarded message ----------
From: Jason Birch <jason at jasonbirch.com>
Date: Wed, 18 Nov 2009 14:05:07 -0800
Subject: Feature stylization draw order question
To: MapGuide Users Mail List <mapguide-users at lists.osgeo.org>
Hi all,
I've been playing around with advanced stylization for the past while, but
still have a number of layers in the simple (point, line, polygon, text)
format.
I have some custom styled point features that I would like to have drawn
entirely due to layer order rather than allowing label text to float on top
of it.
Is there a way I can achieve this? RenderingPass (from RFC29) looked
promising, but only appears to work for the current layer.
Layer Definition snippet:
<CompositeTypeStyle>
<CompositeRule>
<LegendLabel />
<CompositeSymbolization>
<SymbolInstance>
<ResourceId>Library://Nanaimo/Shared/Symbols/POI/Fire.SymbolDefinition</ResourceId>
<ParameterOverrides />
<AddToExclusionRegion>true</AddToExclusionRegion>
</SymbolInstance>
</CompositeSymbolization>
</CompositeRule>
</CompositeTypeStyle>
Symbol Definition snippet:
<Graphics>
<Image>
<ResizeControl>'ResizeNone'</ResizeControl>
<Reference>
<ResourceId/>
<LibraryItemName>'fire.png'</LibraryItemName>
</Reference>
<SizeX>8.0</SizeX>
<SizeY>9.0</SizeY>
<SizeScalable>True</SizeScalable>
<Angle>0.0</Angle>
<PositionX>0.0</PositionX>
<PositionY>4.0</PositionY>
</Image>
<Path>
<Geometry>M -1.0,0.0 L 0.0,1.0 L 1.0,0.0 L 0.0,-1.0 Z</Geometry>
<FillColor>ff008800</FillColor>
</Path>
</Graphics>
Thanks!
Jason
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fire_problem.png
Type: image/png
Size: 1688 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/mapguide-internals/attachments/20091120/6cfc2c8a/fire_problem.png
More information about the mapguide-internals
mailing list