[Users] Trouble with mapPanel and googlelayers.

Andreas Hocevar ahocevar at opengeo.org
Thu Apr 29 17:02:14 CEST 2010


Hi,

try to configure your MapPanel with

hideMode: "offsets"

and report if it works then.

Regards,
Andreas.

On Apr 29, 2010, at 04:48 , Phil Scadden wrote:

> 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.
> 
> _______________________________________________
> Users mailing list
> Users at geoext.org
> http://www.geoext.org/cgi-bin/mailman/listinfo/users



-- 
Andreas Hocevar
OpenGeo - http://opengeo.org/
Expert service straight from the developers.



More information about the Users mailing list