I have a tab panel layout, one panel is a Map and the other is a List component. If I am not on the Map and change the screen orientation and then switch back to the Map view, the actual map does not resize and fill the screen correctly, I end up with a portion of the screen showing the map and the rest is just a greyed out.
This doesnt happen if you are already on the Map view and are changing the screen orientation around (I know the orientationchange event gets fired on Viewport too)
So, I am wondering what the best way is to detect if the screen orientation has changed since last viewing the Map. Then if it has changed I need to get the map to resize so it fills the screen correctly. Would I need to manually fire an orientationchange event here on the Viewport?