[OpenLayers-Users] Bing zoom levels in 2.11

Andy Harrison andyh at alh.me.uk
Wed Jun 1 11:20:16 EDT 2011


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



More information about the Users mailing list