[Users] Trouble with mapPanel and googlelayers.
Phil Scadden
p.scadden at gns.cri.nz
Thu Apr 29 04:48:41 CEST 2010
Geoext 0.7rc2, openlayer 2.9, ext 3.1.1
Having issues with google layers in a mappanel. The application is
fairly complex. MapPanel is in an item of a group panel and is not the
active group. In another group, user selects a map ( like a link but in
fact executes code). The link loads google layers into a map, assigned
map to mapPanel, zoomToExtent, then switches the group so mappanel
displayed. For maps without google layers this is fine. With google
layers, the map is blank. If I layer swtich to change which google
layers is displayed, then up comes the map - but the extent is
completely wrong. Now in FF or Safari, if I switch to an ordinary tab,
and then switch back to the tab with geoext mapPanel, everything is
magically working again! (provided I changed google layer first). In IE
the extents stay wrong.
Any ideas on what special needs to be done for google layers?
--
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.
More information about the Users
mailing list