示例#1
0
 private static Point AsPoint(MG_Point point, MG_MapView mapview)
 {
     Point sp;
     if (mapview != null)
     {
         sp = mapview.Map2Screen(point);
     }
     else
     {
         sp = new Point((int)point.x, (int)point.y);
     }
     return sp;
 }