com.partnersoft.formats.google
Enum GoogleMapLib.MapComponents

java.lang.Object
  extended by java.lang.Enum<GoogleMapLib.MapComponents>
      extended by com.partnersoft.formats.google.GoogleMapLib.MapComponents
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<GoogleMapLib.MapComponents>
Enclosing class:
GoogleMapLib

public static enum GoogleMapLib.MapComponents
extends java.lang.Enum<GoogleMapLib.MapComponents>

Enumeration of options for items to add to a GoogleMap using the GoogleMapBuilder.

Default map controls are LARGE_MAP_CONTROL and MAP_TYPE_CONTROL


Enum Constant Summary
HIERARCHICAL_MAP_TYPE_CONTROL
          Nested map control for switching map types.
LARGE_MAP_CONTROL
          Control with 4 directional buttons, zoom in/out, and zoom slider.
LARGE_MAP_CONTROL_3D
          Control with 3D controls to pan in 4 directions, zoom in/out, and zoom slider.
MAP_TYPE_CONTROL
          Standard control to switch between map types (buttons)
MENU_MAP_TYPE_CONTRL
          Drop down control for switching between map types
NAV_LABEL_CONTROL
          Dynamic labeling of current viewport with nested address components.
OVERVIEW_MAP_CONTROL
          Collapsable mini map in corner of map.
SCALE_CONTROL
          Control that displays map scale.
SMALL_MAP_CONTROL
          Control with 4 directional buttons, zoom in and zoom out
SMALL_ZOOM_CONTROL
          Control with buttons to zoom in and out
SMALL_ZOOM_CONTROL_3D
          3d style zoom in/out
 
Method Summary
static GoogleMapLib.MapComponents valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static GoogleMapLib.MapComponents[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

SMALL_MAP_CONTROL

public static final GoogleMapLib.MapComponents SMALL_MAP_CONTROL
Control with 4 directional buttons, zoom in and zoom out


LARGE_MAP_CONTROL

public static final GoogleMapLib.MapComponents LARGE_MAP_CONTROL
Control with 4 directional buttons, zoom in/out, and zoom slider.


SMALL_ZOOM_CONTROL

public static final GoogleMapLib.MapComponents SMALL_ZOOM_CONTROL
Control with buttons to zoom in and out


LARGE_MAP_CONTROL_3D

public static final GoogleMapLib.MapComponents LARGE_MAP_CONTROL_3D
Control with 3D controls to pan in 4 directions, zoom in/out, and zoom slider.


SMALL_ZOOM_CONTROL_3D

public static final GoogleMapLib.MapComponents SMALL_ZOOM_CONTROL_3D
3d style zoom in/out


SCALE_CONTROL

public static final GoogleMapLib.MapComponents SCALE_CONTROL
Control that displays map scale.


MAP_TYPE_CONTROL

public static final GoogleMapLib.MapComponents MAP_TYPE_CONTROL
Standard control to switch between map types (buttons)


MENU_MAP_TYPE_CONTRL

public static final GoogleMapLib.MapComponents MENU_MAP_TYPE_CONTRL
Drop down control for switching between map types


HIERARCHICAL_MAP_TYPE_CONTROL

public static final GoogleMapLib.MapComponents HIERARCHICAL_MAP_TYPE_CONTROL
Nested map control for switching map types.


OVERVIEW_MAP_CONTROL

public static final GoogleMapLib.MapComponents OVERVIEW_MAP_CONTROL
Collapsable mini map in corner of map.


NAV_LABEL_CONTROL

public static final GoogleMapLib.MapComponents NAV_LABEL_CONTROL
Dynamic labeling of current viewport with nested address components.

Method Detail

values

public static GoogleMapLib.MapComponents[] 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 (GoogleMapLib.MapComponents c : GoogleMapLib.MapComponents.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static GoogleMapLib.MapComponents 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 name
java.lang.NullPointerException - if the argument is null