On Tue, Apr 13, 2010 at 10:00 AM,  <bart...@osgis.nl> wrote:
> Hi list,
>
> I am tracking down an issue in my application. I am using allOverlays true
> on the Map object. When I start up my application, a layer with no scale
> info set is as the lowest in the stack and hence acts as the "base" layer.
>
> However, I have a control which raises this layer (a marker layer) to the
> top, and then another (WMS) layer acts as the "base" layer. This layer is
> however scale-dependent, which means the map is not zoomable anymore after
> 1:500.000.
>
> Is there a way around this, or is this a side-effect of allOverlays? Do I
> need to resort back to my dummy base layer?

Hi Bart

Do you have resolutions or resolution information set in the map?

I think my patch for <http://trac.openlayers.org/ticket/2427> would
help you. With my patch if your layer options include maxResolution
(or minResolution) and doesn't include numZoomLevels (which is the
default), then no attempt to calculate resolutions based on the
maxResolution value will be done, and the resolution data from the map
will be used.

Tell me if you need further information.

PS: I have a complete description of my patch, but I'm holding it
until 2.9 is released.

-- 
Eric Lemoine

Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac, Cedex

Tel : 00 33 4 79 44 44 96
Mail : eric.lemo...@camptocamp.com
http://www.camptocamp.com
_______________________________________________
Dev mailing list
Dev@openlayers.org
http://openlayers.org/mailman/listinfo/dev

Reply via email to