I have the very same problem.
I tried to override the draw function of ItemizedOverlay:
canvas.drawColor(0); does nothing
canvas.drawText("test",0,0,new Paint()) does nothing
canvas.drawBitmap (myBitmap,new Matrix(), new Paint()) -> i see my
bitmap in top left corner
then i call super.draw
No OverlayItem is drawn at all....

On 26 août, 17:23, Reto <[EMAIL PROTECTED]> wrote:
> Hi Swanz,
>   I'm having similar problems.
>
> http://groups.google.com/group/android-developers/browse_thread/threa...
>
>   I think I've figured out how to create the ItemizedOverlay, but
> there seems to be a problem with the items not being drawn on the map.
>
> On Aug 26, 9:23 am, Swanz <[EMAIL PROTECTED]> wrote:
>
> > Hi.
>
> > I've got some trouble using the new implementation of MapView.
>
> > With the old sdk the drawing of a 'pin' over a map was entirely manual
> > (using Bitmap and some other stuffs).
> > Now i see the new classes ItemizedOverlay and OverlayItem, but i don't
> > understand how to use them.
>
> > Can somebody help me?
>
> > Thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new Android 0.9 SDK beta!
http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to