Enum MapProjection
Package com.here.sdk.mapview
Enum MapProjection
- java.lang.Object
-
- java.lang.Enum<MapProjection>
-
- com.here.sdk.mapview.MapProjection
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<MapProjection>
public enum MapProjection extends java.lang.Enum<MapProjection>
The map projection used for rendering.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description GLOBE3D Globe projection.WEB_MERCATORFlat map projection.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MapProjectionvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static MapProjection[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
GLOBE
public static final MapProjection GLOBE
3D Globe projection.
-
WEB_MERCATOR
public static final MapProjection WEB_MERCATOR
Flat map projection.
-
-
Method Detail
-
values
public static MapProjection[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (MapProjection c : MapProjection.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MapProjection valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-