[android-developers] Re: MapView Overlays move after returning from activity started from onTap

2012-09-24 Thread Na Yang
Some additional information: I overrode the drawable methods and found onBoundsChange() was being called on return to the map activity. I suppose there is a redraw of some sort, but not sure where. At this time the bounds are different. I have a workaround... but I would still like an answer as

[android-developers] Re: MapView Overlays with Multitouch

2010-03-03 Thread Carter
*bump* On Feb 17, 1:46 pm, Carter ccjerni...@gmail.com wrote: I'm seeing a bug with overlays onMapViewwith the Nexus One.  Pinch and zoom multitouch gestures don't scale my overlays until the user releases the gesture, at which point the overlay redraws itself.  In contrast, the My Location

[android-developers] Re: MapView Overlays Containing Widgets/View

2009-12-30 Thread Stefan
hello, i have a similar problem. i want to see a picture or a text, if i click on an itemizedoverlay. my i-overlay is implemented in an own class. In my main app i add my itemizedoverlays: if(symbol[i].equals(huhu)) item = new OverlayItem(ov, PICTURE, description.get(i)); else

[android-developers] Re: MapView Overlays

2009-10-02 Thread Ne0
No i wasn't aware, i will grab it and have a look, thanks. When you say use a single image for the entire route, do you mean create the image of the route using the positions and mapView zoom level, then overlay that image? On Oct 1, 6:08 pm, polyclefsoftware dja...@gmail.com wrote: Are you

[android-developers] Re: MapView Overlays

2009-10-01 Thread Ne0
Not had any response, but my solution is to add a bit of intelligence to my activity to only add the overlays that would be displayed on the map currently visible by the map view. I have no idea about how the mapView goes about doing this, but it appears to be really slow at doing so. So i am

[android-developers] Re: MapView Overlays

2009-10-01 Thread Mika
What you could try is to use just one instance of your Overlay subclass that includes all the 60 icons that you want to show on the map. -Mika On Oct 1, 4:08 pm, Ne0 liamjamesalf...@googlemail.com wrote: Not had any response, but my solution is to add a bit of intelligence to my activity to

[android-developers] Re: MapView Overlays

2009-10-01 Thread Ne0
Thanks for your response Mika, but unless i am misunderstanding what you are saying, it is doing just that, that causes the laggy result. When i let the Overlay (super class) and map view handle which overlays should be visible in the mapView, it becomes so slow it is unusable. Liam On Oct 1,

[android-developers] Re: MapView Overlays

2009-10-01 Thread polyclefsoftware
Do you mind sharing what type of app it is? Why are you rendering 60 overlays at a time? Could the problem simply be solved by showing 10 overlays at a time and just prompting the user to search for more if those 10 do not meet their needs? On Sep 28, 8:51 am, Ne0 liamjamesalf...@googlemail.com

[android-developers] Re: MapView Overlays

2009-10-01 Thread Ne0
Essentially its a tracker, one part of the app tracks gps location and logs it to a file, the other part loads the file into a mapView with the readings (taken every 10 or however many seconds you like), essentially loading the route you took. This is for using when going off road, i am into

[android-developers] Re: MapView Overlays

2009-10-01 Thread polyclefsoftware
Are you aware of My Tracks? It's a free tracker and probably does exactly what you want. If you still wanted to develop your own, there's no need to mark every reading with a separate overlay. Just use a single image for the entire route and update the image every time you update the route. That