SuperMap.Connector.Control.WPF.MapControl.MapToScreen C# (CSharp) Method

MapToScreen() public method

将地理坐标转换成屏幕上的像素坐标。
public MapToScreen ( Point2D point ) : System.Drawing.Point
point Point2D 地理坐标。
return System.Drawing.Point
        public System.Drawing.Point MapToScreen(Point2D point)
        {
            GPoint gPoint = gMapControl1.FromLatLngToLocal(Helper.Point2D2PointLatLng(point));
            return new System.Drawing.Point(Convert.ToInt32(gPoint.X), Convert.ToInt32(gPoint.Y));
        }