[OpenLayers-Users] Displaying Base layers by Zoom Scale

Alexandre Dube adube at mapgears.com
Tue Apr 20 13:19:13 EDT 2010


Anthony,

Pick a scale denominator (let's say 100000). Try adding minScale: 100000 
to one baseLayer options and maxScale: 100000 to an other.

Alexandre

Odeneho wrote:
> Alexandre,
>
> Can you please give me an example implementation of switching the baselayers
> based on minscale and maxscales so that I don't have to use the
> layerswitcher. I cannot find any examples.
> Thanks.
>   


-- 
Alexandre Dubé
Mapgears
www.mapgears.com




More information about the Users mailing list