Enum KmlAltitudeMode

    • Enum Constant Detail

      • CLAMP_TO_GROUND

        public static final KmlAltitudeMode CLAMP_TO_GROUND
        The altitude is ignored, and the object will be draped over the ground.
        Since:
        100.4.0
      • RELATIVE_TO_GROUND

        public static final KmlAltitudeMode RELATIVE_TO_GROUND
        Interprets the altitude as a value in meters above the ground. If the point is over water, the altitude will be interpreted as a value in meters above sea level. This is the default value.
        Since:
        100.4.0
      • ABSOLUTE

        public static final KmlAltitudeMode ABSOLUTE
        Interprets the altitude as a value in meters above sea level, regardless of the actual ground elevation beneath the feature.
        Since:
        100.4.0
    • Method Detail

      • values

        public static KmlAltitudeMode[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (KmlAltitudeMode c : KmlAltitudeMode.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static KmlAltitudeMode valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null