Enum Layers.Type
- java.lang.Object
-
- java.lang.Enum<Layers.Type>
-
- org.openstreetmap.josm.data.imagery.vectortile.mapbox.style.Layers.Type
-
- All Implemented Interfaces:
Serializable
,Comparable<Layers.Type>
- Enclosing class:
- Layers
static enum Layers.Type extends Enum<Layers.Type>
The layer type. This affects the rendering.- Since:
- 17862
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BACKGROUND
A background color or patternCIRCLE
A circleFILL
Filled polygon with an (optional) borderFILL_EXTRUSION
A 3D polygon extrusionHEATMAP
A heatmapHILLSHADE
Hillshade dataLINE
A lineRASTER
RasterSKY
The fallback layerSYMBOL
A symbol
-
Constructor Summary
Constructors Modifier Constructor Description private
Type()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Layers.Type
valueOf(String name)
Returns the enum constant of this type with the specified name.static Layers.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FILL
public static final Layers.Type FILL
Filled polygon with an (optional) border
-
LINE
public static final Layers.Type LINE
A line
-
SYMBOL
public static final Layers.Type SYMBOL
A symbol
-
CIRCLE
public static final Layers.Type CIRCLE
A circle
-
HEATMAP
public static final Layers.Type HEATMAP
A heatmap
-
FILL_EXTRUSION
public static final Layers.Type FILL_EXTRUSION
A 3D polygon extrusion
-
RASTER
public static final Layers.Type RASTER
Raster
-
HILLSHADE
public static final Layers.Type HILLSHADE
Hillshade data
-
BACKGROUND
public static final Layers.Type BACKGROUND
A background color or pattern
-
SKY
public static final Layers.Type SKY
The fallback layer
-
-
Constructor Detail
-
Type
private Type()
-
-
Method Detail
-
values
public static Layers.Type[] 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 (Layers.Type c : Layers.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Layers.Type 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 nameNullPointerException
- if the argument is null
-
-