[OpenLayers-Users] Scale dependent layer display
Luís de Sousa
luis.a.de.sousa at gmail.com
Mon Mar 1 15:51:17 EST 2010
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 <adube at mapgears.com>:
> 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
>> Users at openlayers.org
>> http://openlayers.org/mailman/listinfo/users
>>
>
>
> --
> Alexandre Dubé
> Mapgears
> www.mapgears.com
>
>
More information about the Users
mailing list