Enum GenerateOfflineMapParameters.OnlineOnlyServicesOption

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      EXCLUDE
      Online layers and tables that cannot be taken offline will be excluded when taking a map offline.
      INCLUDE
      Online layers and tables that cannot be taken offline will be included when taking a map offline and continue to reference the online service.
      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.
    • Enum Constant Detail

      • USE_AUTHORED_SETTINGS

        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.
        Since:
        100.10.0
    • 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())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static GenerateOfflineMapParameters.OnlineOnlyServicesOption valueOf​(java.lang.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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null