Reputation: 297
I am building an android mapView application, and I use icons to mark certain places on the map. For some reason, the icons are displayed with a black "shadow" around them. How can I fix this?
http://img849.imageshack.us/img849/4695/capturexgy.jpg
Thanks ahead
Upvotes: 0
Views: 74
Reputation: 8072
In your ItemizedOverlay, try overriding the onDraw method and passing in false for shadow e.g.
@Override
public boolean draw(Canvas canvas, MapView mapView, boolean shadow, long when) {
return super.draw(canvas, mapView, false, when);
}
Upvotes: 2