Enum GenerateOfflineMapParameters.OnlineOnlyServicesOption

    • Enum Constant Detail


        public static final GenerateOfflineMapParameters.OnlineOnlyServicesOption USE_AUTHORED_SETTINGS
        The given layer or table will be taken offline, included as online content, or excluded according to the settings in the web map.

        When a web map is created, the author has the option to pre-select which layers should remain online. This can include:

        • Choosing to leave offline-enabled layers online (for example because they contain data that is frequently updated).
        • Choosing whether online-only layers should be included in the offline map or not.
        If no settings are provided in the web map, the default behavior will be to omit any online only layers or tables from the offline map. This matches the EXCLUDE option.
    • Method Detail

      • values

        public static GenerateOfflineMapParameters.OnlineOnlyServicesOption[] 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 (GenerateOfflineMapParameters.OnlineOnlyServicesOption c : GenerateOfflineMapParameters.OnlineOnlyServicesOption.values())
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static GenerateOfflineMapParameters.OnlineOnlyServicesOption 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.)
        name - the name of the enum constant to be returned.
        the enum constant with the specified name
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null