English | Site Directory

Android - An Open Handset Alliance Project

com.google.android.maps.MyLocationOverlay

java.lang.Object
com.google.android.maps.Overlay
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

Constants inherited from class com.google.android.maps.Overlay

Fields

protected    final  Drawable  mDot   

Public Methods

        void  draw(Canvas canvas, PixelCalculator map, boolean shadow)
Draw the overlay over the map.
Methods inherited from class com.google.android.maps.Overlay
Methods inherited from class java.lang.Object

Details

Fields

protected final Drawable mDot

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.
Build m5-rc15i - 10 Jun 2008 13:54