public static enum MBFunction.FunctionCategory extends Enum<MBFunction.FunctionCategory>
{ "circle-color": { "property": "temperature", "stops": [ [0, 'blue'], [100, 'red'] ] } }
{ "circle-radius": { "stops": [ [5, 1], [10, 2] ] } }
{ "circle-radius": { "property": "rating", "stops": [ [{zoom: 0, value: 0}, 0], [{zoom: 0, value: 5}, 5], [{zoom: 20, value: 0}, 0], [{zoom: 20, value: 5}, 20] ] } }
Enum Constant and Description |
---|
PROPERTY
Property functions allow the appearance of a map feature to change with its properties.
|
ZOOM
Zoom functions allow the appearance of a map feature to change with map’s zoom level.
|
Modifier and Type | Method and Description |
---|---|
static MBFunction.FunctionCategory |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MBFunction.FunctionCategory[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MBFunction.FunctionCategory PROPERTY
public static final MBFunction.FunctionCategory ZOOM
public static MBFunction.FunctionCategory[] values()
for (MBFunction.FunctionCategory c : MBFunction.FunctionCategory.values()) System.out.println(c);
public static MBFunction.FunctionCategory valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 1996–2022 Geotools. All rights reserved.