On Wed, Feb 04, 2009 at 10:11:31AM -0800, smithfield wrote:
> 
> Hello group.  Thanks for all of the help so far.  I now have the popups
> autosizing in the correct locations, but i can not get the panmap to work
> with the popups.  I would like the map to refocus so the popup can be seen. 
> You can see that i have the command in my code, but it isn't working.  Any
> thoughts?
>               popup.panMapIfOutOfView(true); 

This is not a function, it is a property. set
popup.panMapIfOutOfView=true; before adding the popup to the map.

Regards,
-- 
Christopher Schmidt
MetaCarta
_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users

Reply via email to