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 <
[email protected]> 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, <[email protected]> wrote:
>
>> Hello Kalyan,
>>
>> this is an object/instance from the map-class "OpenLayers.Map".
>>
>> Regards
>>
>> Tino
>>
>>
>> ----- Original Nachricht ----
>> Von:     Kalyan Kamepalli <[email protected]>
>> An:      [email protected]
>> 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, <[email protected]> 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
>> > [email protected]
>> > 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
>>
>
>
_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users

Reply via email to