[mapguide-users] CompositeTypeStyle conflicting with AreaTypeStyle

Traian Stanev traian.stanev at autodesk.com
Tue Mar 17 15:27:12 EDT 2009


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.


-----Original Message-----
From: mapguide-users-bounces at lists.osgeo.org [mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of manafi
Sent: Tuesday, March 17, 2009 2:42 PM
To: mapguide-users at lists.osgeo.org
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
mapguide-users at lists.osgeo.org

More information about the mapguide-users mailing list