Thank you for your input Alexandre.

I was able to achieve the desired behaviour using the options
maxResolution and minZoomLevel (the later is more handy). I hadn't
been able to get it to work previously because I had these options set
in the wrong list (properties).

Luís

2010/3/1 Alexandre Dube <[email protected]>:
> Hi,
>
>  Look for minScale/maxScale or minResolution/maxResolution layer options.
>  See an example (look at the source) :
>
>  http://openlayers.org/dev/examples/zoomLevels.html
>
> Regards,
>
> Alexandre
>
>
> Luís de Sousa wrote:
>>
>> Hello everyone,
>>
>> I have a few feature layers with a great deal of detail that I have to
>> use in an openlayers map. I'd like to make these layers available only
>> for smaller scales, is there any way to set that in the layer's
>> parameters? If not, which other ways are there to do so?
>>
>> Thank you,
>>
>> Luís
>> _______________________________________________
>> Users mailing list
>> [email protected]
>> http://openlayers.org/mailman/listinfo/users
>>
>
>
> --
> Alexandre Dubé
> Mapgears
> www.mapgears.com
>
>
_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users

Reply via email to