> My 1st answer is: "If you are going to use ExtJS then USE it".
Well I am using geoext rather the just openlayers for toolbar and map 
widgets. I want to insert the map into many pages of existing markup 
with minimal effort. I was struggling to see how to use ext layouts 
without having to write code that tells ext about other markup elements 
on the page. (Ie more work per page).
> 2nd Answer: "If you're going to use plain old DOM methods, then USE 
> them". If you want to handle the window resize and do the measurements 
> using plain old DOM methods / properties, then you should just set the 
> map panel size that way as well (ie Use 
> document.getElementById('mymap').style.width = availWidth + 'px', 
> etc...). Then call the OpenLayers.Map.updateSize() method to 
> synchronize the map size with the map element size.
>
Thank you. I will try that.

-- 
Phil Scadden, Senior Scientist GNS Science Ltd 764 Cumberland St, 
Private Bag 1930, Dunedin, New Zealand Ph +64 3 4799663, fax +64 3 477 5232

Notice: This email and any attachments are confidential. If received in error 
please destroy and immediately notify us. Do not copy or disclose the contents.

_______________________________________________
Users mailing list
[email protected]
http://www.geoext.org/cgi-bin/mailman/listinfo/users

Reply via email to