Re: [android-developers] Re: MapView Overlay problem

2011-07-01 Thread TreKing
On Fri, Jul 1, 2011 at 12:26 PM, JP wrote: > As a side note, I never bothered to check, I'm sure this problem has > a record in some issues database already, where you could push a button or > star. > As a matter of fact ... http://code.google.com/p/android/issues/detail?id=3405&q=map%20view%20o

Re: [android-developers] Re: MapView Overlay problem

2011-07-01 Thread TreKing
On Fri, Jul 1, 2011 at 11:29 AM, Felix Garcia Lainez < fgarcialai...@gmail.com> wrote: > I have improved the responsiveness using some of MyTrack approaches, > but i am still getting this exception, simply doing zoom in and zoom > out sometimes > I doubt there's much you can do about that - t

Re: [android-developers] Re: MapView Overlay problem

2011-07-01 Thread Kostya Vasilyev
TraceView and dmtracedump: http://developer.android.com/guide/developing/debugging/debugging-tracing.html 01.07.2011 19:26, TreKing ?: How should i profile this case? Really as i said there is not any strange thing on the code... Simply a map with an overlay... No idea. Look at t

Re: [android-developers] Re: MapView Overlay problem

2011-07-01 Thread TreKing
On Fri, Jul 1, 2011 at 4:00 AM, Felix Garcia Lainez wrote: > So you are doing something similar to my draw method? > Yup - nearly identical. What I don't do is use anti-aliasing (unless it's on be default, I don't know) or alpha. I also only use moveTo() once (first point) and then lineTo() ther

Re: [android-developers] Re: MapView Overlay problem

2011-06-30 Thread TreKing
On Thu, Jun 30, 2011 at 5:47 PM, Felix Garcia Lainez < fgarcialai...@gmail.com> wrote: > About the size with 300 or 400 GeoPoints i am already having problems... > The method isOnePointVisible is an optimization i did in order to try to > improve performance (seems to work fine). > So I have a ve

Re: [android-developers] Re: MapView Overlay problem

2010-01-08 Thread TreKing
I'm still a bit confused on what you're doing, but I would suggest: 1 - Subclass ItemizedOverlay instead of Overlay to manage a collection of similar items at once. It maintains a list OverlayItems that represent each unique point on the map. In your case these would be the Track points you have.

Re: [android-developers] Re: MapView Overlay problem

2010-01-05 Thread TreKing
OK, well your main problem is that while you implemented the Parcelable class, you didn't implement the writeToParcel method or the constructor that takes a Parcel. That's the key. You need to implement the first method to save all you state information (i.e., your member variables) to the Parcel

Re: [android-developers] Re: MapView Overlay problem

2010-01-05 Thread TreKing
I'm sorry, but I'm not really following or understanding what you're doing. Could you clarify or post some sample code? - TreKing - Chicago transit tracking app for Android-powered devices http://sites.

Re: [android-developers] Re: MapView Overlay problem

2010-01-05 Thread TreKing
> > 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. - TreKing - Chicago transit