<div>What I was hoping for with 2.6 was the following:</div>
<div> </div>
<div> var map, layer;<br> function init(){<br> var options = {<br> scales: [55468034,13867008,3466752,108336,54168,27084,13542,6771],<br> projection: "EPSG:900913",<br>
units: "m",<br> maxExtent: new OpenLayers.Bounds(-20037508,-20037508,20037508,20037508.34),<br> controls: []<br> };</div>
<div> map = new OpenLayers.Map( 'map' , options);<br> map.addControl(new OpenLayers.Control.PanZoomBar());<br> layer = new OpenLayers.Layer.Google("Base",{'sphericalMercator': true});<br>
map.addLayer(layer);<br> map.zoomToMaxExtent();<br> }</div>
<div> </div>
<div>Should show 8 bars on the panzoombar. But it still shows the default number of zoom levels defined when you say sphericalMercator: true.</div>
<div> </div>
<div>Is there any way to do this without customizing the panzoombar?</div>
<div> </div>
<div>Thanks!<br clear="all"><br>-- <br>Linda Rawson </div>