Problem with transitions on windows with Titanium.UI.Map objects

You must Login before you can answer or comment on any questions.

Hello,

I´m trying to make a transition on windows with map objects

when open the new window with transition code:

FARM.win2.open({transition:Ti.UI.iPhone.AnimationStyle.FLIP_FROM_RIGHT});

I can see a black screen when the window (win2) is closed. Can´t see my MAP object (that I could see before the open event)

If I dont use this transition in the open event then it works fine. But I need that transition.

I close win2 with this code:

FARM.win2.close({transition:Ti.UI.iPhone.AnimationStyle.FLIP_FROM_LEFT});

Somebody can help me?

1 Answer

It´s works

On the close event:

FARM.win2.close({transition:Ti.UI.iPhone.AnimationStyle.FLIP_FROM_LEFT});
FARM.win.show();
On the open event:
FARM.win2.open({transition:Ti.UI.iPhone.AnimationStyle.FLIP_FROM_RIGHT});
FARM.win.hide();

— answered 2 years ago by Fran Rodas
answer permalink
1 Comment
  • Hi Fran,

    As per my understanding, only one instance of map can run at a time. So you need to close the map window and reopen every time. I have faced the same issue and this is the solution to it.

    — commented 2 years ago by Zarir Bhesania

Your Answer

Think you can help? Login to answer this question!