AnsweredAssumed Answered

TextSymbol with Text that contains a new line locks up map

Question asked by chrissanter on Oct 20, 2014
Latest reply on Oct 21, 2014 by JNery-esristaff

New lines worked fine in 10.2.3, but lock up the map control in 10.2.4

 

It can be recreated using the samples, by editing TextSymbol.xaml.cs, and adding the following line of code to AcceptPointsAsync:

 

...

var symbol = _symbols[symbolCombo.SelectedIndex];

 

symbol.Text += Environment.NewLine + "Second line";

 

graphicsOverlay.Graphics.Add(new Graphic(point, symbol));

...

 

Is there a workaround to allow text across multiple line?

 

Thanks!

Outcomes