[OpenLayers-Dev] Display a subset of zoom levels

Frédéric Junod frederic.junod at camptocamp.com
Thu Mar 12 10:30:30 EDT 2009


Hi,

This is what you need: http://trac.openlayers.org/wiki/SettingZoomLevels

fredj

PS: you should use the users at openlayers.org mailing list for this kind of
question

Le Thu, 12 Mar 2009 15:20:03 +0100,
Andrea Battisti <battisti at actgate.com> a écrit :

> Hi All,
> 
> 
> is there a way to force openlayers to show only a subset of zoom levels
> for a given layer?
> 
> As an example, if the map is configured using a (maxResolution,
> numZoomLevels) pair, the maxResolution is mapped to zoom level 0,
> maxResolution/2 to zl 1 and so on...
> 
> Will it be possible to tell the map to display for example only the zoom
> levels > N, or say, only selected zoom levels, e.g. 2, 5, 7 ?
> 
> 
> Thanks in advance,
> 


-- 
Frédéric Junod
Camptocamp SA



More information about the Dev mailing list