Package com.naver.maps.map
Enum LocationTrackingMode
- java.lang.Object
-
- java.lang.Enum<LocationTrackingMode>
-
- com.naver.maps.map.LocationTrackingMode
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<LocationTrackingMode>
public enum LocationTrackingMode extends java.lang.Enum<LocationTrackingMode>
위치 추적 모드를 나타내는 열거형.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static LocationTrackingModevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static LocationTrackingMode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
None
public static final LocationTrackingMode None
위치 추적을 사용하지 않는 모드.LocationOverlay는 움직이지 않습니다.
-
NoFollow
public static final LocationTrackingMode NoFollow
위치는 추적하지만 지도는 움직이지 않는 모드.LocationOverlay가 사용자의 위치를 따라 움직이나 지도는 움직이지 않습니다.
-
Follow
public static final LocationTrackingMode Follow
위치를 추적하면서 카메라도 따라 움직이는 모드.LocationOverlay와 카메라의 좌표가 사용자의 위치를 따라 움직입니다. API나 제스처를 사용해 지도를 임의로 움직일 경우 모드가NoFollow로 바뀝니다.
-
Face
public static final LocationTrackingMode Face
위치를 추적하면서 카메라의 좌표와 베어링도 따라 움직이는 모드.LocationOverlay와 카메라의 좌표, 베어링이 사용자의 위치, 사용자가 바라보고 있는 방향을 따라 움직입니다. API나 제스처를 사용해 지도를 임의로 움직일 경우 모드가NoFollow로 바뀝니다.
-
-
Method Detail
-
values
public static LocationTrackingMode[] 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 (LocationTrackingMode c : LocationTrackingMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LocationTrackingMode 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
-
-