Package dev.avelar.mapnik
Enum Class Capability
- All Implemented Interfaces:
Serializable,Comparable<Capability>,Constable
Something a Mapnik build may or may not include. See
Mapnik.supports(Capability).-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionPDF, SVG and PostScript output.The grid renderer, for UTFGrid output.Reading and writing JPEG.Mapnik writes messages to its log.Reading and writing PNG.Projection support through PROJ.Safe for several threads to render at once, each with its own map.Reading and writing TIFF.Reading and writing WebP. -
Method Summary
Modifier and TypeMethodDescriptionstatic CapabilityReturns the enum constant of this class with the specified name.static Capability[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CAIRO
PDF, SVG and PostScript output. -
JPEG
Reading and writing JPEG. -
PNG
Reading and writing PNG. -
TIFF
Reading and writing TIFF. -
WEBP
Reading and writing WebP. -
PROJ
Projection support through PROJ. -
GRID
The grid renderer, for UTFGrid output. -
THREADSAFE
Safe for several threads to render at once, each with its own map. -
LOGGING
Mapnik writes messages to its log. Without it,Loggingsettings have nothing to show.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-