Removing Shadows From Android Map Overlay Items
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:
@Override public boolean draw(Canvas canvas, MapView mapView, boolean shadow, long when) { super.draw(canvas, mapView, false); return true; }
Make sure to return true to indicate your override handled the draw. Simple!
About this entry
You’re currently reading “ Removing Shadows From Android Map Overlay Items ,” an entry on Public Static Droid Main
- Published:
- 12.16.11 / 7pm
- Category:
- Uncategorized
No comments
Jump to comment form | comments rss [?] | trackback uri [?]