On Thu, Jun 2, 2011 at 9:41 PM, Andreas Hocevar <[email protected]> wrote: > Hi, > > as I said, it's not minZoomLevel, but restrictedMinZoom what you want to use.
The minZoomLevel property is not supported by anything but the EventPane layers. If restrictedMinZoom doesn't do what you expect, we should improve it. Having said that, my patch has not passed the review process yet. Maybe restrictedMinZoom is not the way to go, or at least making it an API property is not. Andreas. > > Andreas. > > On Thu, Jun 2, 2011 at 4:24 PM, Andy Harrison <[email protected]> wrote: >> On 01/06/2011 22:59, Andreas Hocevar wrote: >>> >>> Nevermind. Ticket created, patch with tests and example attached: >>> http://trac.osgeo.org/openlayers/ticket/3338 >>> >>> Andreas. >> >> Many thanks for doing that Andreas, but there still seems to be an issue >> with Bing zooms. Your patch allows the numZoomLevels to work but >> minZoomLevel is having no effect. I've attached screenshots to illustrate. >> >> As I understand it numZoomLevels is the number of zoom levels starting from >> zero (whole world). minZoomLevel changes the starting zoom to be more >> detailed. In my map I am focused on Scotland, starting at zoom level 6. >> >> minZoomLevel = 6, numZoomLevels = 15 >> >> That should give me the maximum zoom for aerial photography using zooms >> 6-21. It works for my old VEarth layers but the new Bing layers aren't >> responding. restrictedMinZoom=6 now restricts the zoom slider control but I >> don't think this is as good a solution as minZoomLevel. I expect you would >> want that in that working in the new 2.11 release? I haven't posted any >> tickets as yet, I should probably register and do that. >> >> thanks, >> >> Andy >> >> > > > > -- > Andreas Hocevar > OpenGeo - http://opengeo.org/ > Expert service straight from the developers. > -- Andreas Hocevar OpenGeo - http://opengeo.org/ Expert service straight from the developers. _______________________________________________ Users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/openlayers-users
