Hi,

use restrictedMinZoom and numZoomLevels. The latter starts counting at
zoom level 0, regardless of the restrictedMinZoom setting.

Andreas.

On Wed, Jun 1, 2011 at 5:20 PM, Andy Harrison <[email protected]> wrote:
> Hi all,
>
> What is the correct way to modify/restrict the zoom range for the new Bing
> layer?
>
> new OpenLayers.Layer.Bing({
>                name: "Bing Aerial",
>                key: bingKey,
>                type: "Aerial",
>                'sphericalMercator': true,
>                transitionEffect:'resize'
>            });
>
> I've tried parameters such as "numZoomLevels" "minZoomLevel" etc but I can't
> seem to be able restrict the zoom levels.
>
> cheers,
>
> Andy
>
> _______________________________________________
> Users mailing list
> [email protected]
> http://lists.osgeo.org/mailman/listinfo/openlayers-users
>



-- 
Andreas Hocevar
OpenGeo - http://opengeo.org/
Expert service straight from the developers.
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to