Class TLspKML22LayerBuilder

java.lang.Object
com.luciad.view.lightspeed.layer.ALspLayerBuilder
com.luciad.format.kml22.view.lightspeed.TLspKML22LayerBuilder

public class TLspKML22LayerBuilder extends ALspLayerBuilder

A layer builder for KML models. This layer builder takes care of everything needed to create a layer capable of visualizing a decoded KML file.

More specifically, layers created by this layer builder will contain the following functionality built in:

  • A body styler
  • A label styler
  • A region filter (for filtering features with a region element, based on the view-scale)
  • A resource provider. (For retrieving resources in the KML file)
  • Model parameters that are updated automatically. (Needed for some files that retrieve data based on region).

Also note that this layer builder behaves differently based on the type of model you supply it.

  • TLcdKML22Kml: This is what you get from the model decoder. Supplying this layer builder with a TLcdKML22Kml will automatically wrap it into a TLcdKML22RenderableModel.
  • TLcdKML22RenderableModel: This model will not be wrapped. It will be set on the created layer as-is.

This class supports KML data sets containing Collada data. Consult the com.luciad.format.object3d package documentation for more information on which Collada features are supported.

Since:
2013.0