[OpenLayers-Users] Changing Map bounds Dynamically

christopher.schmidt at nokia.com christopher.schmidt at nokia.com
Wed Jul 21 02:44:08 EDT 2010


On Jul 21, 2010, at 2:41 AM, ext Kalyan Kamepalli wrote:

> Hello Group,
>  
> I want to change the map bounds dynamically based on the user selected object bounds from a form. This  bounds change should not affect the maxExtent of the Map so that the user is further allowed to zoom out from the dynamically set bounds. In one line , How do I make my current map zoom to the bounds I have while retaining the same maxExtent bounds.
>  

mzp.zoomToExtent(new OpenLayers.Bounds(left, bottom, right, top));

> 
> <ATT00001..txt>

Regards,
-- 
Christopher Schmidt
Nokia




More information about the Users mailing list