private static MG_MultiLineString AsMultiLineString(Geometry g) { MG_MultiLineString multiLineString = new MG_MultiLineString(); int geometryCount = g.GetGeometryCount(); for (int i = 0; i < geometryCount; i++) { MG_LineString lineString = AsLineString(g.GetGeometryRef(i)); multiLineString.Add(lineString); } return(multiLineString); }
public static void RenderMultiLineString(Graphics g, Pen pen, MG_MapView mapview, MG_MultiLineString multiLineString) { for (int i = 0; i < multiLineString.Count(); i++) { RenderLineString(g, pen, mapview, multiLineString.GetAt(i)); } }