public static enum MapController.MyLocationArg extends java.lang.Enum<MapController.MyLocationArg>
MapController.setMyLocationEnabled(boolean, MyLocationArg) method,
And the method will perform action as user/developer's setting.| Enum Constant and Description |
|---|
NONE
Perform no action, method will just update the marker layer.
|
SHOW_MY_LOCATION_BUTTON
To show My Location Button along with MyLocationMarker layer on map, your location
will not be set to zoom.
|
ZOOM_LOCATION_ON_FIRST_FIX
To Zoom on your location at first location fix (e.g.
|
ZOOM_LOCATION_UPDATES
To Zoom/follow on your location for location updates (e.g.
|
| Modifier and Type | Method and Description |
|---|---|
static MapController.MyLocationArg |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MapController.MyLocationArg[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MapController.MyLocationArg NONE
public static final MapController.MyLocationArg SHOW_MY_LOCATION_BUTTON
public static final MapController.MyLocationArg ZOOM_LOCATION_ON_FIRST_FIX
MyLocationLayer) plotted on map.public static final MapController.MyLocationArg ZOOM_LOCATION_UPDATES
MyLocationLayer) plotted on map.public static MapController.MyLocationArg[] values()
for (MapController.MyLocationArg c : MapController.MyLocationArg.values()) System.out.println(c);
public static MapController.MyLocationArg 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