To visualize and style AIXM5 data on ILcdGXYView maps, the API provides a set of painter, editor, and label painter providers.
You can set those on an ILcdGXYLayer containing an AIXM 5.1 Abstract Message.
The class TLcdAIXM51GXYPainterEditorProvider is the most general one, providing editors, painters, label painters, and label editors for a set of AIXM 5.1 features.
See the provider reference documentation for more details about the supported features and how they are styled.
TLcdAIXM51GXYPainterEditorProvider makes use of general LuciadLightspeed painters and editors, located in the view.gxy package and a set of
specific implementations in format.aixm51.view.gxy. You can use the default implementations, customize them, or use your own implementations to visualize and edit AIXM 5.1
data on a map.
The API contains an ILcdGXYLayerFactory implementation which uses this painter/editor: TLcdAIXM51GXYLayerFactory.
Custom styling support
It is also possible to choose your own styling of AIXM 5.1 features. The styling has to be defined
as an SLD feature type style. SLD is a powerful rule-based styling mechanism developed by the OGC,
defined as an XML format. LuciadLightspeed already supports these styles by default, but now
they can also be easily applied to AIXM 5.1 features.
See the javadoc on setSLDFeatureTypeStyle method in the TLcdAIXM51GXYPainterEditorProvider and
TLspAIXMStyler classes for more details.
The AIXM 5.1 painters not only allow you to set a style but also allow access to predefined styles. This makes it easier for
application developers to allow style customization as they can allow their users to customize an existing style
instead of having to write one from scratch.
See the getSLDFeatureTypeStyle method in the TLcdAIXM51GXYPainterEditorProvider and
TLspAIXMStyler for more details.