Removing the default drop-shadows from Android map overlay items is simple, but not well documented.
Just override the draw method in your overlay class, and pass false for the shadow boolean:
[java]
@Override
public boolean draw(Canvas canvas, MapView mapView, boolean shadow, long when)
{
super.draw(canvas, mapView, false);
return true;
}
[/java]
Make sure to return true to indicate your override handled the draw. Simple!
Leave a Reply