Class KmlGroundOverlay


  • public final class KmlGroundOverlay
    extends KmlNode
    A KML ground overlay is an image overlay draped on to the terrain.
    Since:
    100.4.0
    • Method Detail

      • getAltitude

        public double getAltitude()
        Gets the KML ground overlay's altitude in meters. Interpreted in terms of getAltitudeMode().
        Returns:
        the KML ground overlay's altitude in meters
        Since:
        100.4.0
      • getDrawOrder

        public int getDrawOrder()
        Gets the KML ground overlay's draw order. Overlays with higher draw order values are drawn on top of those with lower values.
        Returns:
        the KML ground overlay's draw order
        Since:
        100.4.0
      • getGeometry

        public Geometry getGeometry()
        Gets the geometry for the KML ground overlay.
        Returns:
        an Envelope geometry for the KML ground overlay
        Since:
        100.4.0
      • getColor

        public int getColor()
        Gets the color mask to be applied to the KML ground overlay's image.

        Pixels in the overlay image are multiplied by this color channel-by-channel.

        The default value is 0xFFFFFFFF (white).

        At version 100.4, only the alpha (opacity) channel is multiplied; all others are left as-is.

        Returns:
        the color mask in an integer 0xAARRGGBB format
        Since:
        100.4.0
      • getRotation

        public double getRotation()
        Gets the KML ground overlay's rotation.

        The rotation of the overlay about its center, in degrees. Values can be +/-180. The default is 0 (north). Rotations are specified in a counterclockwise direction.

        Returns:
        the KML ground overlay's rotation
        Since:
        100.4.0