0

I want to have 5 zoom levels only in google/bing layer in OL.

http://jsfiddle.net/Alophind/j97mw/

In this Fiddle example I have OSM/Bing/Google layers.

for OSM layer I did it like this :

var resolutions = OpenLayers.Layer.Bing.prototype.serverResolutions.slice(16, 20);
var osm = new OpenLayers.Layer.OSM("OSM", null, {
        zoomOffset: 16,
        resolutions: resolutions
    });

How can I do the same with google & bing layer ? I want to show the zoom bar on the left with only 5 zoom levels.

Thx.

Alophind
  • 842
  • 2
  • 12
  • 27

0 Answers0