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 an overlay display (again while migrating to
> 0.9).
>
> I add an verlay this way
>
> Log.d("MAP", "add overlay");
> myMapOverlay = new MyStationsOverlay(this, nearestFullStations);
> mapViewFromXML.getOverlays().add(myMapOverlay);
> mapViewFromXML.postInvalidate();
>
> But the draw (I have specific process during the draw)  method inside
> my Overlay is never called ! SO the overlay never 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to