@LcdService(service=ILspLayerFactory.class, priority=20001) public final class TLspMGCPLayerFactory extends java.lang.Object implements ILspLayerFactory
A Lightspeed Layer factory which can create layers for MGCP 2.0 compliant models.
Models are MGCP compliant when the data model descriptor has a data property "FCODE" or similar ("f-code", "fCode").
This includes models decoded by
but also SHP files that have such a property.
|Constructor and Description|
|Modifier and Type||Method and Description|
Determines whether or not this layer factory is capable of creating layers for the given model.
Creates one or more
ILspLayerobjects for the given model. Note that this method should not be called if
false; the results are undefined in this case. In most typical scenarios, this method will only create a single
ILspLayerinstances for a given model. In such cases, the
ALspSingleLayerFactoryprovides a convenient abstract base class for layer factory implementations. An example of when it might be useful to return multiple layers is a model that describes objects moving along a certain trajectory. The layer factory might return one layer which represents the trajectories as polylines, and another which represents the current positions of the objects as point icons.
public boolean canCreateLayers(ILcdModel aModel)
false, the result of calling
ILspLayerFactory.createLayers(com.luciad.model.ILcdModel)with the same parameters is undefined.