예제 #1
0
        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);
        }
예제 #2
0
 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));
     }
 }