[OpenLayers-Users] Changing Map bounds Dynamically

Kalyan Kamepalli kalyan.kamepalli at gmail.com
Wed Jul 21 04:29:52 EDT 2010


I am sorry, I am new to OpenLayers and a beginner in Java Script.

What is mzp here ??  Is it a class like OpenLayers or a function in
OpenLayers ?


On Wed, Jul 21, 2010 at 4:44 PM, <christopher.schmidt at nokia.com> wrote:

>
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20100721/a968a1b2/attachment.html


More information about the Users mailing list