Enum KmlAltitudeMode

    • Enum Constant Detail

      • CLAMP_TO_GROUND

        public static final KmlAltitudeMode CLAMP_TO_GROUND
        The altitude specification 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
        (default) 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.
        Since:
        100.4.0
      • ABSOLUTE

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

        public static final KmlAltitudeMode UNKNOWN
        Unknown altitude mode.
        Since:
        100.9.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