Package com.esri.arcgisruntime.layers
Enum FeatureLayer.RenderingMode
- java.lang.Object
-
- java.lang.Enum<FeatureLayer.RenderingMode>
-
- com.esri.arcgisruntime.layers.FeatureLayer.RenderingMode
-
- All Implemented Interfaces:
Serializable
,Comparable<FeatureLayer.RenderingMode>
- Enclosing class:
- FeatureLayer
public static enum FeatureLayer.RenderingMode extends Enum<FeatureLayer.RenderingMode>
The different modes of rendering features.- Since:
- 100.2.0
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AUTOMATIC
The rendering mode for the layer will be automatically chosen based on the geometry type andRenderer
.DYNAMIC
Dynamic rendering mode - Features will be updated during pan and zoom operations for a smoothly rendered display.STATIC
Static rendering mode - Features will only update between zoom and pan operations in a retained mode.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FeatureLayer.RenderingMode
valueOf(String name)
Returns the enum constant of this type with the specified name.static FeatureLayer.RenderingMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AUTOMATIC
public static final FeatureLayer.RenderingMode AUTOMATIC
The rendering mode for the layer will be automatically chosen based on the geometry type andRenderer
.- Since:
- 100.2.0
-
STATIC
public static final FeatureLayer.RenderingMode STATIC
Static rendering mode - Features will only update between zoom and pan operations in a retained mode. This mode is good, for example, for complex geometries or features rendered with cartographic quality symbology. It may also be suited for rendering features when low end graphics hardware is used.- Since:
- 100.2.0
-
DYNAMIC
public static final FeatureLayer.RenderingMode DYNAMIC
Dynamic rendering mode - Features will be updated during pan and zoom operations for a smoothly rendered display. This mode is not supported by allRenderer
s. AHeatMapRenderer
is an example of a renderer which does not support dynamic rendering mode.- Since:
- 100.2.0
-
-
Method Detail
-
values
public static FeatureLayer.RenderingMode[] 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 (FeatureLayer.RenderingMode c : FeatureLayer.RenderingMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FeatureLayer.RenderingMode 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
-
-