public static enum TranslateParam.CoordType extends java.lang.Enum<TranslateParam.CoordType>
Enum Constant and Description |
---|
BAIDU
3 baidu经纬度
|
GPS
1 GPS坐标
|
MAPBAR
4 mapbar经纬度
|
NONE |
SOGOU
2 sogou经纬度
|
SOGOUMERCATOR
6 sogou墨卡托
|
STANDARD
5 [默认]腾讯、google、高德坐标
|
Modifier and Type | Method and Description |
---|---|
static TranslateParam.CoordType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TranslateParam.CoordType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TranslateParam.CoordType NONE
public static final TranslateParam.CoordType GPS
public static final TranslateParam.CoordType SOGOU
public static final TranslateParam.CoordType BAIDU
public static final TranslateParam.CoordType MAPBAR
public static final TranslateParam.CoordType STANDARD
public static final TranslateParam.CoordType SOGOUMERCATOR
public static TranslateParam.CoordType[] values()
for (TranslateParam.CoordType c : TranslateParam.CoordType.values()) System.out.println(c);
public static TranslateParam.CoordType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null