Class TLcyLspTransformingModelFormatWrapper


public class TLcyLspTransformingModelFormatWrapper extends ALcyLspFormatWrapper

An ALcyLspFormatWrapper instance which adds support for transforming the models in the layer factory, for example to add support for clustering. This format wrapper can only be used if the ALcyFormat (which normally provides the model decoder and model workspace support for the format) is wrapped with an TLcyTransformingModelFormatWrapper.

This format wrapper has a layer factory implementation which allows to convert the model into a ALcdTransformingModel and create a layer for that. A possible use-case is if you want to cluster the domain objects on the map.

The Lucy clustering sample illustrates a usage of this class. See samples.lucy.clustering.lightspeed.LspClusteringSHPAddOn#createBaseFormat().

Since:
2017.1
See Also: