On 03/06/2011 19:19, Andreas Hocevar wrote:
This required some deep digging, but what I came up with is very
pleasing. See http://trac.osgeo.org/openlayers/ticket/3338 again. With
this patch applied (and to be safe, also the one for
http://trac.osgeo.org/openlayers/ticket/3342), you can configure a
subset of zoom levels just by setting maxResolution and numZoomLevels,
e.g.

var road = new OpenLayers.Layer.Bing({
     key: apiKey,
     type: "Road",
     maxResolution: 76.43702827453613,
     numZoomLevels: 3
});

Please test and report back if this works for you or if you're seeing
any issues.

Yes! Thanks very much, excellent job. It works exactly how I want it.

andy

_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to