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