I would like to restrict zoom levels in Open Layers for a Google Map. A bing example shows how to limit the extent of the bing tiles:
var road3 = new OpenLayers.Layer.Bing({
name: "Road tiles with 3 zoom levels",
type: "Road",
key: apiKey,
maxResolution: 76.43702827453613,
numZoomLevels: 3
});
But I cannot find a google example which does this same thing in open layers.
Found OpenLayersAndGoogleMapOverlays but didn't work. I used it to build this fiddle which also doesn't work.