In the KML Specification, a Ground Overlay is an entity that contains raster data in the form of an image reference and bounding area.

When a KML file is loaded which contains a ground overlay element, a "KMLGroundOverlay" event will be emitted on KMLCodec. To add a layer for a ground overlay element to the map, you need to register a callback on KMLCodec for this event. In this callback you can create a layer for the ground overlay by using createGroundOverlayLayer.

Create a RasterTileSetLayer from a KMLGroundOverlayFeature

    createGroundOverlayLayer(map, groundOverlay).then(layer => {
// Add the layer to the map
map.layerTree.addChild(layer);
});

Since

2020.1

Hierarchy

Constructors

Accessors

Methods

Constructors

Accessors

  • get id(): FeatureId
  • The unique identifier of the Feature. This unique id must uniquely identify the Feature within the context of a model, ie.within the context of a luciad.model.feature.FeatureModel.

    Returns FeatureId

  • set id(value): void
  • Parameters

    Returns void

  • get properties(): TProperties
  • The properties that were passed to the constructor.

    Returns TProperties

  • get shape(): TShape
  • The shape of the feature

    Returns TShape

  • set shape(shape): void
  • Parameters

    • shape: TShape

    Returns void

Methods