[OpenLayers-Users] Bing zoom levels in 2.11

Andreas Hocevar ahocevar at opengeo.org
Thu Jun 2 15:41:45 EDT 2011


Hi,

as I said, it's not minZoomLevel, but restrictedMinZoom what you want to use.

Andreas.

On Thu, Jun 2, 2011 at 4:24 PM, Andy Harrison <andyh at alh.me.uk> 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.


More information about the Users mailing list