This should work for the specific map app, but if you are trying to
prevent access to these other zoom levels, I would think that you
would want to do this on the server side.  It would be pretty easy to
copy and modify the client-side app.

David.

On Thu, Sep 16, 2010 at 10:11 AM, Piero Campa <[email protected]> wrote:
>
> Hi Mak,
> I think that setting the maxResolution and the numZoomLevels in the creation
> of the OpenLayers.Map object is a good solution.
> Piero
> --
> View this message in context: 
> http://osgeo-org.1803224.n2.nabble.com/Restricting-entire-map-to-a-minimum-and-maximum-zoom-tp5538729p5538871.html
> Sent from the OpenLayers Users mailing list archive at Nabble.com.
> _______________________________________________
> Users mailing list
> [email protected]
> http://lists.osgeo.org/mailman/listinfo/openlayers-users
>
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to