[OpenLayers-Users] One Popup situation resolved, New troubles w/ panmapifoutofview

smithfield willsmithfield at gmail.com
Thu Feb 5 09:29:23 EST 2009


Thanks for the reply but there is no change when i move it before the popup. 
I have tried putting it everywhere.  i am thinking that the problem might be
in the centering of the map?



Christopher Schmidt-2 wrote:
> 
> 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
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
> 
> 

-- 
View this message in context: http://n2.nabble.com/One-Popup-situation-resolved%2C-New-troubles-w--panmapifoutofview-tp2270359p2275102.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.




More information about the Users mailing list