Hi,

Composite styles and regular old styles are mutually exclusive when rendering a 
map layer. Composite styles take precedence. If you need both to display, you 
will have to duplicate the layer, or convert the regular style to draw as a 
composite style. I realize that converting an area style with something like a 
hatch to a composite style is not easy, so in that case the practical solution 
is to duplicate the layer in your map and style one with the area style and one 
with the composite style.

Traian 


-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of manafi
Sent: Tuesday, March 17, 2009 2:42 PM
To: [email protected]
Subject: [mapguide-users] CompositeTypeStyle conflicting with AreaTypeStyle


I'm having trouble including composite symbol definitions with line/area
styles at the same scale range in a LayerDefinition. The symbolization
aspect works just fine, as they show up properly in the map. But, whenever I
have a composite style defined for a scale, if there are any line and/or
area styles also defined, they disappear from the map but show up in the
legend. If I zoom out to a scale range with no composites defined, I see the
line and area styles just fine.

I tested this with data from an sdf file, as well as from King.Oracle.

Does anyone else see results like this? Is the composite definition not
meant to be used in conjunction with line or area styles?

This is in MGOS 2.0.2, WinXP, apache
-- 
View this message in context: 
http://n2.nabble.com/CompositeTypeStyle-conflicting-with-AreaTypeStyle-tp2493094p2493094.html
Sent from the MapGuide Users mailing list archive at Nabble.com.

_______________________________________________
mapguide-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapguide-users
_______________________________________________
mapguide-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Reply via email to