com.ls.widgets.map.config
Class MapGraphicsConfig

java.lang.Object
  extended by com.ls.widgets.map.config.MapGraphicsConfig

public class MapGraphicsConfig
extends java.lang.Object

Allows to configure the appearance of the map aspects.


Field Summary
static int DEFAULT_ACCURACY_AREA_BORDER_COLOR
           
static int DEFAULT_ACCURACY_AREA_COLOR
           
 
Constructor Summary
MapGraphicsConfig()
           
 
Method Summary
 int getAccuracyAreaBorderColor()
           
 int getAccuracyAreaColor()
           
 int getArrowPointerDrawableId()
           
 int getDotPointerDrawableId()
           
 void setAccuracyAreaBorderColor(int accuracyAreaBorderColor)
          Configures the accuracy area border color.
 void setAccuracyAreaColor(int accuracyAreaColor)
          Configures the accuracy area color of location pointer.
 void setArrowPointerDrawableId(int arrowPointerDrawableId)
          Configures the location pointer look when bearing is available.
 void setDotPointerDrawableId(int dotPointerDrawableId)
          Configures the location pointer look when no bearing is available.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_ACCURACY_AREA_COLOR

public static final int DEFAULT_ACCURACY_AREA_COLOR
See Also:
Constant Field Values

DEFAULT_ACCURACY_AREA_BORDER_COLOR

public static final int DEFAULT_ACCURACY_AREA_BORDER_COLOR
See Also:
Constant Field Values
Constructor Detail

MapGraphicsConfig

public MapGraphicsConfig()
Method Detail

getDotPointerDrawableId

public int getDotPointerDrawableId()

setDotPointerDrawableId

public void setDotPointerDrawableId(int dotPointerDrawableId)
Configures the location pointer look when no bearing is available.

Parameters:
dotPointerDrawableId - - id of the drawable resource.

getArrowPointerDrawableId

public int getArrowPointerDrawableId()

setArrowPointerDrawableId

public void setArrowPointerDrawableId(int arrowPointerDrawableId)
Configures the location pointer look when bearing is available.

Parameters:
dotPointerDrawableId - - id of the drawable resource.

getAccuracyAreaColor

public int getAccuracyAreaColor()

setAccuracyAreaColor

public void setAccuracyAreaColor(int accuracyAreaColor)
Configures the accuracy area color of location pointer. Use this template to set the color: 0xAARRGGBB. AA - alpha channel, RR - red component, GG - green component, BB - blue component.

Parameters:
accuracyAreaColor - - color.

getAccuracyAreaBorderColor

public int getAccuracyAreaBorderColor()

setAccuracyAreaBorderColor

public void setAccuracyAreaBorderColor(int accuracyAreaBorderColor)
Configures the accuracy area border color.

Parameters:
accuracyAreaBorderColor - - color.