I am working with the GridIsoLineLayer and GridFeatureLayer to display isolines. The sample code adds labels to the isolines on the GridIsoLineLayer. I would like to add a "title" for the entire grid of isolines but I can't figure out how to add a label to the existing layers for either the GridIosLineLayer or the GridFeatureLayer. I have tried creating a new feature and defining the label using:
textStyle.LabelPositions.Add(feature.Id, new WorldLabelingCandidate( "My label", new PointShape(-80, 32.5)));
This will create the label in the GridFeatureLayer but only if I make the TextStyle the DefaultTextStyle for the layer which seems to conflict with the CustomStyles for the ClassBreaks. I have a different problem in the GridIsoLineLayer in that I can't add the feature where the label is defined. If anyone can offer me any help or point me to a sample where I might find this type of function, I would greatly appreciate it.
Also, I would like to suppress the Grid Lines in the GridFeatureLayer. I want to get the shading that the GridFeatureLayer provides with the ClassBreaks but I don't need to see the lines of all the rows and columns of the cells, Is there any easy way to prevent the layer from drawing the grid matrix lines?
Richard