[android-developers] Re: Display map overlay always on top

2011-02-15 Thread viktor
You mean, if item last(index) in Overlays Collection, it have to display on top? I don't understand this issue, if it is true, that means that API always regroup all items when it was tapped. On 15 Лют, 18:16, TreKing treking...@gmail.com wrote: On Tue, Feb 15, 2011 at 10:09 AM, viktor

Re: [android-developers] Re: Display map overlay always on top

2011-02-15 Thread TreKing
On Tue, Feb 15, 2011 at 10:32 AM, viktor victor.scherb...@gmail.com wrote: You mean, if item last(index) in Overlays Collection, it have to display on top? Sorry, I don't understand what you're asking. I don't understand this issue, if it is true, that means that API always regroup all

[android-developers] Re: Display map overlay always on top

2011-02-15 Thread viktor
---It doesn't regroup - it just draws the focused item last. OK, it is clear for me now. I try to set focus, but overlay doesn't move to the top. I've forgotten something? On 15 Лют, 18:37, TreKing treking...@gmail.com wrote: On Tue, Feb 15, 2011 at 10:32 AM, viktor victor.scherb...@gmail.com

Re: [android-developers] Re: Display map overlay always on top

2011-02-15 Thread TreKing
On Tue, Feb 15, 2011 at 10:49 AM, viktor victor.scherb...@gmail.com wrote: I try to set focus, but overlay doesn't move to the top. I've forgotten something? How did you try to set focus? -

[android-developers] Re: Display map overlay always on top

2011-02-15 Thread viktor
I get the Overlay by index from Overlays. and set with: ItemizedOverlay.setFocus(Item item); It works now, but if I scroll or zoom a map the focussed overlay gone again. On 15 Лют, 19:13, TreKing treking...@gmail.com wrote: On Tue, Feb 15, 2011 at 10:49 AM, viktor victor.scherb...@gmail.com

Re: [android-developers] Re: Display map overlay always on top

2011-02-15 Thread TreKing
On Tue, Feb 15, 2011 at 11:47 AM, viktor victor.scherb...@gmail.com wrote: It works now, but if I scroll or zoom a map the focussed overlay gone again. Make sure you're not clearing out again anywhere else ... work fine for me ...