Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Google Earth Plugin Won't Init Properly When in 2nd Tab

    I have a Tabset in which I display a Google Earth plugin. When the plugin is on the second tab, it will not instantiate properly. No problems when it is in the first.

    In Flex/Flash there is a creationPolicy property for Canvas and other layout objects. When it is not set to "all", certain things will remain null, and cause problems if you assume they will be ready. I'm guessing that this same type of thing may be the cause for this 2nd tab issue. Do SmartGWT components have an equivalent that would assist with this type of problem?

    Thanks,
    Last edited by ls3674; 13 Apr 2012, 12:27.

    #2
    Panes of inactive tabs are not draw()n until the tab is selected. However the widget itself exists. If you have APIs that are being called before you've been drawn, you could avoiding trying to interact with Google Earth then take action in an onDraw handler.

    Comment

    Working...
    X