[Users] More on issue of google layers not playing nice with treepanel on delayed load.

Phil Scadden p.scadden at gns.cri.nz
Wed May 12 07:04:11 CEST 2010


I have attached a better test.html. There are two links. Load image link 
loads an image, and it loads fine.
LoadGoogle loads 3 google layers and it doesnt. When render is called, 
it appears that openlayer.map hasnt
rendered whereas it has with say the image. It then seems that a moveTo 
checks whether zoom and center have changed (they havent), and so does 
nothing. It seems to me that a check for whether googlemaps has rendered 
is needed as well as a check on zoom and center. Because of the delayed 
loading (map div is hidden), it seems google doesnt load and then cant 
be forced to load.

Really stabbing in the dark here and would appreciate some views from 
someone more up on how the openlayer/geoext/googlemap apis work together.

-- 
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.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.geoext.org/pipermail/users/attachments/20100512/4d571b42/attachment-0001.html 


More information about the Users mailing list