[OpenLayers-Users] maxResolution google layer

Heidt, Christopher M. CHRISTOPHER.M.HEIDT at saic.com
Thu Jan 8 14:39:48 EST 2009


Is this a map or layer property?
I see a numZoomLevels under each, but that's the only zoom property I
can find in the docs.
I tried adding maxZoom to the map and layer but that didn't appear to do
anything. 

-----Original Message-----
From: AJ R [mailto:ajayr.email at gmail.com] 
Sent: Thursday, January 08, 2009 1:02 PM
To: Heidt, Christopher M.
Cc: users at openlayers.org
Subject: Re: [OpenLayers-Users] maxResolution google layer

Hi Christopher

I have had to do something similar, wherein i Had to restrict zoom
levels for the users, and i did this by setting the min and maxZoom
levels, for example for our app, the resolutions ranges from Zoom level
9 to level 15 were all that were needed. This worked perfectly.
I dont know if  this would help solve your problem.

Regards

Ajay

On Thu, Jan 8, 2009 at 9:31 AM, Heidt, Christopher M.
<CHRISTOPHER.M.HEIDT at saic.com> wrote:
> Im tring to restrict how far my users can zoom out but changing the 
> maxResolution but it isnt doing anything for my google layers.
> Ive also played with maxExtent/restrictedExtent but these don't affect

> the zoom.
> I just don't want to be able to see multiple copies of the earth ;p 
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>



More information about the Users mailing list