public static enum ViewerMap.MapUnit extends java.lang.Enum<ViewerMap.MapUnit>
这几种枚举类型是为了和iclient(JavaScript) api 保持一致。 具体可参考JavaScript API: SuperMap.Map.units
限定符和类型 | 方法和说明 |
---|---|
static ViewerMap.MapUnit |
valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。
|
static ViewerMap.MapUnit[] |
values()
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
|
public static final ViewerMap.MapUnit degrees
public static final ViewerMap.MapUnit m
public static final ViewerMap.MapUnit ft
public static final ViewerMap.MapUnit km
public static final ViewerMap.MapUnit mi
public static final ViewerMap.MapUnit inches
public static ViewerMap.MapUnit[] values()
for (ViewerMap.MapUnit c : ViewerMap.MapUnit.values()) System.out.println(c);
public static ViewerMap.MapUnit valueOf(java.lang.String name)
name
- 要返回的枚举常量的名称。