Package com.luciad.format.kml22.view.gxy
Class TLcdKML22GXYLayerFactory
java.lang.Object
com.luciad.format.kml22.view.gxy.TLcdKML22GXYLayerFactory
- All Implemented Interfaces:
ILcdGXYLayerFactory
@LcdService(service=ILcdGXYLayerFactory.class,
priority=20000)
public class TLcdKML22GXYLayerFactory
extends Object
implements ILcdGXYLayerFactory
The default layer factory for KML models. All models created by the KML model decoder are supported.
This layer factory:
- can create layers for models that have a
TLcdKML22ModelDescriptor
as model descriptor. - can create layers for
TLcdKML22Kml
andTLcdKML22RenderableModel
instances. - uses
TLcdKML22GXYPainterProvider
to paint its elements. - uses
TLcdKML22GXYLabelPainterProvider
to paint its labels.
- Since:
- 2017.0
-
Constructor Summary
ConstructorDescriptionCreates a new layer factory that can create layers for KML data.TLcdKML22GXYLayerFactory
(TLcdKML22ResourceProvider aResourceProvider, TLcdKML22Parameters aParameters, TLcdKML22GXYRegionFilter aGXYRegionFilter) Creates a new layer factory that can create layers for KML data. -
Method Summary
Modifier and TypeMethodDescriptioncreateGXYLayer
(ILcdModel aModel) Creates anILcdGXYLayer
for representing anILcdModel
on anILcdGXYView
.
-
Constructor Details
-
TLcdKML22GXYLayerFactory
public TLcdKML22GXYLayerFactory()Creates a new layer factory that can create layers for KML data. -
TLcdKML22GXYLayerFactory
public TLcdKML22GXYLayerFactory(TLcdKML22ResourceProvider aResourceProvider, TLcdKML22Parameters aParameters, TLcdKML22GXYRegionFilter aGXYRegionFilter) Creates a new layer factory that can create layers for KML data. It uses the given resource provider, parameters and region filter.- Parameters:
aResourceProvider
- A resource provider that can supply documents and images. Can benull
.aParameters
- The map parameters. Can benull
.aGXYRegionFilter
- The region filter. Can benull
.
-
-
Method Details
-
createGXYLayer
Description copied from interface:ILcdGXYLayerFactory
Creates anILcdGXYLayer
for representing anILcdModel
on anILcdGXYView
.- Specified by:
createGXYLayer
in interfaceILcdGXYLayerFactory
- Parameters:
aModel
- a model that needs to be visualized in anILcdGXYView
- Returns:
- a layer representing the given model, or
null
if such a layer cannot be created - See Also:
-