rasmuffin, Re-submission of patch 4298 (missing source code) with an addition. I also added the fields: GMapControl.DefaultCursor and GMapControl.DragCursor which allow for custom cursors. I also made the defaults to be like Google Maps with the hand, and while dragging to be the closed fist.

In this patch (based on 37700) I have created several methods to facilitate retrieving images of the map with markers, routes and selection drawn at any zoom level and at any location. I added this to facilitate in the creation of driving directions or for printing out or saving the map to a file. For driving directions you could retrieve an image at each turn point just like Google maps can.

All you need to specify is the location (Lat/Long), zoom level and size of the image and a System.Drawing.Image is returned. In order to accomplish this several of the internal methods needed to be re-factored as well as the addition of the methods to return the image. There is only really 1 breaking change, and this only if you are using custom markers. There are now 2 arguments in the 'OnRender' method, the graphics object as well as the local point where the marker needs to be drawn.

The new methods are: GMapControl.GetImage(), GMapControl.GetImageAtPoint(), GMapControl.GetImageScaled()