Do you use ItemizedOverlay or directly Overlay ?
I found that no one on the mailing list made ItemizedOverlay work,
included me.
I'll try to draw items myself like in the M5.
On 25 août, 09:05, 6real <[EMAIL PROTECTED]> wrote:
> Hum hum. A am ashamed to say that I found the reason why :
>
> actually the draw() signature has changed and I still have my old draw
> method (I removed the assertion @Override the first time I migrate my
> code ... ).
>
> On Aug 23, 3:15 pm, 6real <[EMAIL PROTECTED]> wrote:
>
> > Dear all,
>
> > I am facing an issue with anoverlaydisplay (again while migrating to
> > 0.9).
>
> > I add an verlay this way
>
> > Log.d("MAP", "addoverlay");
> > myMapOverlay = new MyStationsOverlay(this, nearestFullStations);
> > mapViewFromXML.getOverlays().add(myMapOverlay);
> > mapViewFromXML.postInvalidate();
>
> > But the draw (I have specific process during the draw) method inside
> > myOverlayis never called ! SO theoverlaynever displays what I
> > expect.
>
> > Thanks for your help.
>
> > PS : the running code on the previous SDK was like :
>
> > Log.d("MAP", "add
> > OverlayController myOC = mapViewFromXML.createOverlayController();
> > myMapOverlay = new MyMapOverlay (this, nearestFullStations);
> > myOC.add(veloidMapOverlay, true);
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---