Adding point with label.

Apr 3, 2014 at 4:34 PM
Edited Apr 3, 2014 at 4:39 PM

I have a problem with labels.

Create labels:
IMapLabelLayer labelLayer = new MapLabelLayer();
ILabelCategory category = labelLayer.Symbology.Categories[0];
category.Expression = "[ID]";
category.Symbolizer.Orientation = ContentAlignment.MiddleCenter;
_pointLayer.ShowLabels = true;
_pointLayer.LabelLayer = labelLayer;
It's work for allready added point. But after I am trying to add a new point and he hasn't a label.
IFeature currentFeature = _point.AddFeature(point);
currentFeature.DataRow["ID"] = _id++;
If I am trying to create labels again aplication crushes.
How I can update labels for new points?

Apr 3, 2014 at 10:20 PM
Hi, it seems that you have the same issue as described at
It is already fixed in trunk.
Marked as answer by jany_ on 9/9/2014 at 1:35 AM
Apr 6, 2014 at 9:28 AM
Thank you!