Sizing Issue with Dojo ExpandoPane and Map in the same BorderContainer

1909
1
10-15-2010 09:18 AM
SeanMcGinnis
New Contributor II
I have been running into an issue when using an ExpandoPane and a map in the same BorderContainer. I am building the page so I can pass query results to a Grid in an ExpandoPane. The Map is referenced as being in the 'Center' region and the Expando is in the 'Bottom' region with startExpanded="false". I have set the height for the expando via CSS, but what is happening is the map is being sized as if the expando was expanded (the attached image shows an example). When the expando is expanded and closed, the map resize fires and all is as expected.

Does anyone have any insight on an event I get use to resize the map/div onLoad to get the desired map image? Thanks in advance.
-sean
========================
Sean McGinnis
IT Specialist
New Jersey Office of GIS
0 Kudos
1 Reply
rajeshmanam
New Contributor
Hi,

it generally happens when you are not included the map resize function on onload event. if not solved share the problematic or test code.
0 Kudos