This project has moved and is read-only. For the latest updates, please go here.

Improving Pan effect

Topics: WinForms Controls
Apr 11, 2007 at 4:58 PM
Using the MapImage control is great, but I don't like very much the clipping effect if a zoomed map is moved (i.e. you move a cutted image).
I'm trying to improve it a bit: I would try to create a new image on mouse drag which is the current image plus a portion of the offscreen map; I could simply move the map center and create the new partial image to merge, but to waste less memory I would like to render exactly the partial image I need...
Finally my question: how can I render the map with the current zoom in a smaller window? If I change the map Size property the image is resized according to the new size, while I would like to define a box and render a portion of the map at current zoom... how could I do this?