27 | | * [/mapguide/attachment/wiki/AdvancedStylization/ImageSymbolDemo.mgp?format=raw Image Symbol Demo] - This package imports into '''!Library://SymbolDemo/''' and contains a series of symbols showing how to reference image files, including: how to include these symbols in a !LayerDefinition, how to scale using map units, and how to expose attributes such as rotation to be overridden at the layer level. Once you have imported the package, preview the Map to see how the symbols appear (try zooming in and out to see how one is in !MappingUnits and the others are in !DisplayUnits). Then explore the Layer in XML mode to see how these are referenced, including an override of the rotation angle of one symbol and setting another to be in fixed mapping units. Finally, explore the symbol definitions themselves to see how to expose overridable parameters and to combine rasters with vectors in a single symbol. |
| 27 | * [attachment:ImageSymbolDemo.mgp?format=raw Image Symbol Demo] - This package imports into '''!Library://SymbolDemo/''' and contains a series of symbols showing how to reference image files, including: how to include these symbols in a !LayerDefinition, how to scale using map units, and how to expose attributes such as rotation to be overridden at the layer level. Once you have imported the package, preview the Map to see how the symbols appear (try zooming in and out to see how one is in !MappingUnits and the others are in !DisplayUnits). Then explore the Layer in XML mode to see how these are referenced, including an override of the rotation angle of one symbol and setting another to be in fixed mapping units. Finally, explore the symbol definitions themselves to see how to expose overridable parameters and to combine rasters with vectors in a single symbol. |