I've been struggling with this problem quite a while now.

What I need to do is to draw the overlays of a mapView on top of an
image. However, I don't need any of the visual information that the
mapView provides, I only want to show the overlays on top of my
background imageView. Therefor I need to make the mapView itself
transparent, but at the same time keep the overlays opaque.

I have therefor subclassed the com.google.android.maps.MapView class
and overriden the dispatchDraw(Canvas canvas) method. Within this
method I call super.dispatchDraw(canvas) and then I call the draw-
method of my overlays. My problem is to make the mapview totally
transparent rather than painting a transparent color on top of it
(canvas.drawPaint()/canvas.drawColor). The overlays are drawn on top
of the color I paint onto the canvas, but I can't get the mapview
itself to become transparent. Anyone who has a solution?


-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to