graphic graphicsPointText = new graphic();
graphicsPointText.Geometry = mapPoint;
TextSymbol graphicsPointTextSym = new TextSymbol
{
FontFamily = new FontFamily("微软雅黑, 宋体"),
FontSize = 12,
Foreground = new SolidColorBrush(Colors.Blue),
Text = numFlag.ToString().Trim()
};
graphicsPointText.Symbol = graphicsPointTextSym;