Turn off layer

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

Hi Guys,

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

Thx in advance

 

Mr.Musso

Aug 18, 2009 at 4: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 7:12 PM

Thx RJones that was exactly what i needed!