Interface GlobeBalloon

    • Method Detail

      • getPosition

        Position getPosition()
        Get the position of the balloon.
        Returns:
        The position of the balloon.
      • setPosition

        void setPosition​(Position position)
        Set the balloon to a position on the globe.
        Parameters:
        position - New position for the balloon.
      • getAltitudeMode

        int getAltitudeMode()
        Returns the balloon's altitude mode. See setAltitudeMode(int) for a description of the modes.
        Returns:
        the balloon's altitude mode.
      • setAltitudeMode

        void setAltitudeMode​(int altitudeMode)
        Specifies the balloon's altitude mode. Recognized modes are:
        • @link WorldWind#CLAMP_TO_GROUND} -- the balloon is placed on the terrain at the latitude and longitude of its position.
        • @link WorldWind#RELATIVE_TO_GROUND} -- the balloon is placed above the terrain at the latitude and longitude of its position and the distance specified by its elevation.
        • WorldWind.ABSOLUTE -- the balloon is placed at its specified position.
        Parameters:
        altitudeMode - the altitude mode