Turn off layer

Topics: Español, SharpMap Project, SharpMap v0.9 / v1.x
Aug 18, 2009 at 4:56 PM

Hi Guys,

Is it possible to turn off layers? Not to remove it just to turn it off?

Thx in advance



Aug 18, 2009 at 5:07 PM

You could set the layer.MaxVisible = 0 or layer.Enabled = false.  Probably the second way is what you're looking for.

Aug 18, 2009 at 8:12 PM

Thx RJones that was exactly what i needed!