LabelLayer & dataSource

Topics: General Topics
Apr 2, 2007 at 11:07 AM

Is it possible to fill LabelLayer with other thing than LabelColumn values ? I would like to fill it with the Z values of my shapeFile.
Apr 9, 2007 at 1:58 PM
Nobody ?
Apr 11, 2007 at 7:48 AM
Edited Apr 12, 2007 at 8:54 AM
layLabel.LabelColumn = "NAMEOFYOURCOLUMN"

You can find the name of your column by examining your shapefile(dbf) using a textpad or preferrably excel.
Apr 17, 2007 at 2:22 PM
Yes, I know that. I want to display the Z value of my shapeFile (type PointZ).
Apr 17, 2007 at 10:49 PM
Have you tried LabelLayer.GetLabelMethod?
Apr 21, 2007 at 10:02 PM
I tried this :

layer_p_labels.LabelStringDelegate = labelString;

with labelString :

private string getString(FeatureDataRow row)
	return "test";

Seems to work. But how to get the Z value ? I have read somewhere that SharpMap can read the Z data (but not work with it).