Enum MapContentType
Package com.here.sdk.mapview
Enum MapContentType
- java.lang.Object
-
- java.lang.Enum<MapContentType>
-
- com.here.sdk.mapview.MapContentType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<MapContentType>
public enum MapContentType extends java.lang.Enum<MapContentType>
Content types supported by the map.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description LINEGeodetic line.POINTGeodetic point.POLYGONGeodetic polygon.RASTER_IMAGERaster image.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MapContentTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static MapContentType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
RASTER_IMAGE
public static final MapContentType RASTER_IMAGE
Raster image.
-
LINE
public static final MapContentType LINE
Geodetic line.
-
POLYGON
public static final MapContentType POLYGON
Geodetic polygon.
-
POINT
public static final MapContentType POINT
Geodetic point.
-
-
Method Detail
-
values
public static MapContentType[] 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 (MapContentType c : MapContentType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MapContentType 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
-
-