[OpenLayers-Users] Turning on/off layers depending on zoom level

Erik Uzureau erik.uzureau at metacarta.com
Mon Apr 9 19:14:03 EDT 2007


Hi Kaka,

You can control these by passing option values 'minResolution' and
'maxResolution' when you initialize the layer.

See the DM layer in:
http://openlayers.org/dev/examples/example.html

for an example

Erik


On 4/9/07, kaka <drspencer at hotmail.com> wrote:
>
> Hi
> I am trying to turn on/off a layer of markers depending on zoom level, using
> google maps as a background layer. Does anyone have suggestions on how to
> achieve this or is there or maybe an example? Thank you for any ideas.
>
> Regards,
>
> Magnus
> --
> View this message in context: http://www.nabble.com/Turning-on-off-layers-depending-on-zoom-level-tf3550126.html#a9911124
> Sent from the OpenLayers Users mailing list archive at Nabble.com.
>
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>



More information about the Users mailing list