//////////////////////////////////////////////////////////////////////////// //--------------------------------- REVISIONS ------------------------------ // Date Name Tracking # Description // --------- ------------------- ------------- ---------------------- // 21JUN2009 James Shen Initial Creation //////////////////////////////////////////////////////////////////////////// /** * draw a point. * @param mapPoint a map point object. */ private void DrawPoint(MapPoint mapPoint) { GeoPoint screenPt = FromLatLngToMapPixel(mapPoint.Point); SolidBrush brush = new SolidBrush(new Color(mapPoint.SymbolType.Color, false)); SharedGraphics2D.FillRectangle(brush, new Rectangle((int)screenPt.X - 2, (int)screenPt.Y - 2, 4, 4)); }
//////////////////////////////////////////////////////////////////////////// //--------------------------------- REVISIONS ------------------------------ // Date Name Tracking # Description // --------- ------------------- ------------- ---------------------- // 21JUN2009 James Shen Initial Creation //////////////////////////////////////////////////////////////////////////// /** * draw a point. * @param mapPoint a map point object. */ private void DrawPoint(MapPoint mapPoint) { GeoPoint screenPt = FromLatLngToMapPixel(mapPoint.Point); SolidBrush brush = new SolidBrush(new Color(mapPoint.SymbolType.Color,false)); SharedGraphics2D.FillRectangle(brush, new Rectangle((int)screenPt.X - 2, (int)screenPt.Y - 2, 4, 4)); }