[Users] Popup remembers size issue

Dan Ramage dan at inlet.geol.sc.edu
Thu Jul 15 21:16:25 CEST 2010


Bart,

I am not knowingly using the StateProvider, I'll try your suggestion though.

Thanks!

Dan

-----Original Message-----
From: Bart van den Eijnden [mailto:bartvde at osgis.nl] 
Sent: Thursday, July 15, 2010 2:30 PM
To: Dan Ramage
Cc: users at geoext.org
Subject: Re: [Users] Popup remembers size issue

Are you using an ExtJS StateProvider (like the cookie provider) in your
application? If so, try including the following after GeoExt.js:

GeoExt.Popup.prototype.getState = function()  { return null; }

Best regards,
Bart

-- 
Looking for flexible support on OpenLayers or GeoExt? Please check out
http://www.osgis.nl/support.html

Bart van den Eijnden
OSGIS
bartvde at osgis.nl

On Jul 15, 2010, at 8:21 PM, Dan Ramage wrote:

> All,
> 
> I am using a popup to display information from a GFI request. An issue I
> can't quite figure out is if I resize the popup, then close it, the next
> time the popup is created, it has remember the last size.
> I've tried calling close() in the popup close event. The popup variable is
a
> member variable of my mapping object, so before reusing the popup
variable,
> I call close() in it and null it out. Nothing seems to work.
> Anyone have any suggestions?
> 
> 
> Thanks
> 
> 
> Dan
> 
> _______________________________________________
> Users mailing list
> Users at geoext.org
> http://www.geoext.org/cgi-bin/mailman/listinfo/users
> 



More information about the Users mailing list