com.google.android.maps.MyLocationOverlay
Overlay for drawing the user's current location on the map. As long as this overlay
is active, it will be requesting constant repaints.
Summary
| |
|
|
Value |
|
| float |
SHADOW_X_SKEW |
X Skew value for creating a marker shadow in perspective. |
-0.9 |
| float |
SHADOW_Y_SCALE |
Y Scale value for creating a marker shadow in perspective. |
0.5 |
| int[] |
sXYCoords |
Coordinate pair for temporary use. |
|
|
Fields
Public Methods
| |
|
|
|
boolean |
draw(Canvas canvas, PixelCalculator calculator, boolean shadow, long when) |
| |
|
|
|
void |
draw(Canvas canvas, PixelCalculator calculator, boolean shadow) |
| |
|
|
static |
void |
drawAt(Canvas canvas, Drawable drawable, int x, int y, boolean shadow) |
| |
|
|
|
Point |
getCenter() |
| |
|
|
|
int |
getLatSpanE6() |
| |
|
|
|
int |
getLonSpanE6() |
| |
|
|
|
String |
getTitle() |
| |
|
final |
|
boolean |
isActive() |
| |
|
|
|
void |
onDeactivate() |
| |
|
|
|
boolean |
onTap(DeviceType deviceType, Point p, PixelCalculator calculator) |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait
Details
Fields
Public Methods
public
void
draw(Canvas canvas, PixelCalculator map, boolean shadow)
Draw the overlay over the map. This will be called on all
active overlays with shadow=true, to lay down the shadow layer,
and then again on all overlays with shadow=false.
By default, draws nothing.