Enum TileScalingType

    • Enum Constant Detail

      • IN

        public static final TileScalingType IN
        Search for tiles by zooming in
      • OUT

        public static final TileScalingType OUT
        Search for tiles by zooming out
      • IN_OUT

        public static final TileScalingType IN_OUT
        Search for tiles by zooming in first, and then zooming out
      • OUT_IN

        public static final TileScalingType OUT_IN
        Search for tiles by zooming out first, and then zooming in
      • CLOSEST_IN_OUT

        public static final TileScalingType CLOSEST_IN_OUT
        Search for tiles in closest zoom level order, zoom in levels before zoom out
      • CLOSEST_OUT_IN

        public static final TileScalingType CLOSEST_OUT_IN
        Search for tiles in closest zoom level order, zoom out levels before zoom in
    • Method Detail

      • values

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

        public static TileScalingType 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
      • getName

        public String getName()
        Get the name
        Returns:
        name
      • fromName

        public static TileScalingType fromName​(String name)
        Get the Tile Scaling Type from the name
        Parameters:
        name - name
        Returns:
        tile scaling type