[OpenLayers-Users] Changing Map bounds Dynamically

Kalyan Kamepalli kalyan.kamepalli at gmail.com
Wed Jul 21 07:44:08 EDT 2010


My goodness.

It's a typo error in Christopher's mail

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

I was thinking that there's another class of MZP :)

I think, I now can use it.


On Wed, Jul 21, 2010 at 9:32 PM, Kalyan Kamepalli <
kalyan.kamepalli at gmail.com> wrote:

> So, should my call be like
>
> OpenLayers.map.mzp.zoomToExtent(new OpenLayers.Bounds(left, bottom, right,
> top));
>
>
>
> On Wed, Jul 21, 2010 at 6:38 PM, <tino.desjardins at arcor.de> wrote:
>
>> Hello Kalyan,
>>
>> this is an object/instance from the map-class "OpenLayers.Map".
>>
>> Regards
>>
>> Tino
>>
>>
>> ----- Original Nachricht ----
>> Von:     Kalyan Kamepalli <kalyan.kamepalli at gmail.com>
>> An:      christopher.schmidt at nokia.com
>> Datum:   21.07.2010 10:29
>> Betreff: Re: [OpenLayers-Users] Changing Map bounds Dynamically
>>
>> > 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
>> > >
>> > >
>> >
>> >
>> > --------------------------------
>> >
>> > _______________________________________________
>> > Users mailing list
>> > Users at openlayers.org
>> > http://openlayers.org/mailman/listinfo/users
>> >
>>
>> --
>> E-Cards: Schon fertig für die ganz Eiligen oder individuell zum
>> Selbstgestalten - für jeden Anlass gibt´s die richtige E-Card auf
>> arcor.de.
>> http://www.arcor.de/rd/footer.ecard
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20100721/f1fb3f4a/attachment.html


More information about the Users mailing list