Hello,
I am trying to display some custom graphics on top of a MapPoint Control map, as some of the built-in MapPoint objects for points and lines are painfully slow when creating large numbers of graphics objects.
Has anyone successfully rendered .Net GDI+ graphics on top a MapPoint Control?
I have tried creating a GDI+ Graphics class from the MapPoint Control (for example, oGraphicsClass = oMapPointControl.CreateGraphics() ).
Next, I use drawing methods of the graphics class after a MapPoint Control redraw (using the MapPoint AfterRedraw event as the trigger).
I use the LocationToX and LocationToY MapPoint methods to ensure latitude/longitude coordinates are correctly transposed to GDI+ pixel coordinates.
All statements execute and the pixel arguments seem reasonable, but no custom graphics, just the usual MapPoint map.
Thanks for any insight.