dash74
17 Apr 2012, 6:23 AM
Hi,
I can correctly listen for a painted event of a Map object if that event is managed into the view.
Going in and out the container hosting the map, repeats the same event and the code associated.
In an MVC environment I won't be able to refer the map object (by it's xtype for example) and the only way to trigger the painted event is to refer to some id (like #myMap).
But going in and out the container like above, no longer trigger the event (only the first time).
My schema is :
Viewport--Card Container--Carousel--Map
|--Card Container--Other view to switch to
Thanks for cooperation
David
I can correctly listen for a painted event of a Map object if that event is managed into the view.
Going in and out the container hosting the map, repeats the same event and the code associated.
In an MVC environment I won't be able to refer the map object (by it's xtype for example) and the only way to trigger the painted event is to refer to some id (like #myMap).
But going in and out the container like above, no longer trigger the event (only the first time).
My schema is :
Viewport--Card Container--Carousel--Map
|--Card Container--Other view to switch to
Thanks for cooperation
David