On Jan 5, 6:48 pm, TreKing <treking...@gmail.com> wrote: > > Couldn't figure a way to save my overlay class to bundle > > Have your Overlay class implement the Parceable interface, which you can > then save to / restore from a Bundle. >
hmmm, in my case i have always a new overlay for each line on my map: in every iteration/run of the onLocationChanged method i call overlay = new MyOverlay(....) before i know the MyLocationOverlay i draw my current location with the drawOval and for this overlay-object (my_pos = new MyOverlay (...) ) i use the parcelable. But i dont know how i can save my other "normal" overlays, because in each iteration/run i override my overlay object?
-- 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