public enum OutputFormat extends java.lang.Enum<OutputFormat>
地图图片的格式。
ImageOutputOption
枚举常量和说明 |
---|
BIL
地形瓦片格式。
|
BINARY
BINARY 格式。
|
BMP
BMP 格式。
|
DEFAULT
默认的图片输出格式,即 PNG 格式。
|
DXTZ
三维影像瓦片
|
EMF
EMF 格式,该格式暂不支持。
|
EPS
EPS 格式,该格式暂不支持。
|
GEOTIFF
GeoTIFF 格式。
|
GIF
GIF 格式。
|
JPG
JPG 格式。
|
JPG_PNG
JPG_PNG 混合格式。
|
MVT
MVT 格式,存储在mongodb中的MVT瓦片。
|
PBF
PBF 格式,序列化为PBF文件的瓦片,可能是矢量瓦片等。
|
PDF
PDF 格式,该格式暂不支持。
|
PNG
32位的PNG 格式。
|
PNG8
8位的PNG格式
|
TIFF
TIFF 格式。
|
WEBP |
限定符和类型 | 方法和说明 |
---|---|
java.lang.String |
postfix()
图片格式所对应的文件后缀(小写) 如果枚举值是 DEFAULT 或 BINARY,将返回 png
|
static OutputFormat |
valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。
|
static OutputFormat[] |
values()
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
|
public static final OutputFormat DEFAULT
默认的图片输出格式,即 PNG 格式。
public static final OutputFormat PNG
32位的PNG 格式。
public static final OutputFormat PNG8
8位的PNG格式
public static final OutputFormat JPG
JPG 格式。
public static final OutputFormat JPG_PNG
JPG_PNG 混合格式。
public static final OutputFormat BMP
BMP 格式。
public static final OutputFormat GIF
public static final OutputFormat EPS
EPS 格式,该格式暂不支持。
public static final OutputFormat EMF
EMF 格式,该格式暂不支持。
public static final OutputFormat PDF
PDF 格式,该格式暂不支持。
public static final OutputFormat BINARY
BINARY 格式。
只有当地图图片的格式设置为“BINARY”时,MapImage.imageData
中才会存储图片的二进制内容,如果地图图片的格式设置为其他格式,MapImage.imageData
的值为空。
public static final OutputFormat DXTZ
public static final OutputFormat BIL
public static final OutputFormat GEOTIFF
public static final OutputFormat TIFF
public static final OutputFormat PBF
PBF 格式,序列化为PBF文件的瓦片,可能是矢量瓦片等。
public static final OutputFormat MVT
MVT 格式,存储在mongodb中的MVT瓦片。
public static final OutputFormat WEBP
public static OutputFormat[] values()
for (OutputFormat c : OutputFormat.values()) System.out.println(c);
public static OutputFormat valueOf(java.lang.String name)
name
- 要返回的枚举常量的名称。public java.lang.String postfix()