Web API Reference MapGuide Open Source
virtual void MgLayerBase::SetDisplayInLegend ( bool  displayInLegend  )  [virtual]

Specifies whether an entry for the layer should appear in the legend.

Java Syntax
void SetDisplayInLegend(boolean displayInLegend);

Parameters:
displayInLegend (boolean/bool) True if the layer should appear in the legend, false otherwise.
Returns:
Returns nothing.


Comments or suggestions? Send us feedback.