285 | | The new symbol definitions and cartographic engine will obviously have an impact on the !LayerDefinition XML schema. Those changes will be proposed in a subsequent RFC. That RFC will discuss any potential compatibility issues, however non are anticipated at this time. |
| 285 | The new symbol definitions will have an imapct on the Layer Definition XML schema. To preserve backwards compatibility, |
| 286 | we propose to add a new element, a !CompositeTypeStyle that will be the only LDF element that references new symbol definitions. |
| 287 | The !CompositeTypeStyle inherits !FeatureTypeStyle alongside Area, Line and !PointTypeStyle. Layers that have a !CompositeTypeStyle |
| 288 | will use a new code path for stylization based on the new !SymbolDefinitions. Stylization of layers that have one of the old |
| 289 | !TypeStyles will not change. Thus one will be able to mix the two kinds of layers within the same map. |
| 290 | |
| 291 | Just like the other !FeatureTypeStyles, the !CompositeTypeStyle will hold on to a symbolization object (!CompositeSymbolization), |
| 292 | which defines the way features draw. The !CompositeSymbolization will reference a !SymbolDefinition and also optionally define |
| 293 | theming expressions for properties of the !SymbolDefinition which are marked as parametrized. Those allow for the symbol definition |
| 294 | to take up styles based on attributes of the specific feature class that the !CompositeSymbolization is associated with. |
| 295 | |
| 296 | See Appendix A for a link to the schema for the proposed Layer Definition additions. |