private void RenderPolyline(RenderingContext context, SqlGeography geo) { foreach (var pp in MapPoints(context, geo)) { if (lineStyle.IsVisible) { var pen = lineStyle.GetPen(context); Graphics.DrawLines(pen, pp); } } }