This project is read-only.

how to show map reference

Feb 11, 2014 at 5:19 AM
hello all,
I have a problem about a building GIS applications using MapWindow + VB .Net
I want to add a reference map of the main map,
is there anybody that can help me?
What steps should I do?
Feb 11, 2014 at 7:43 PM
What you can do is add a second map control and fill this map with the image of the main map using one of the snapshot methods:

Feb 11, 2014 at 8:17 PM
Edited Feb 11, 2014 at 8:19 PM
I didn't try snapshot but I tried Mapsate but with a limited success, perhaps because I missed things.
I finally used two Axmap in two different forms pointing to the same shapefile and synchronized commands thru vb .net.
Feb 11, 2014 at 8:18 PM
Edited Feb 11, 2014 at 8:19 PM
Feb 12, 2014 at 2:58 PM
For MapWindow Desktop we use the snapshot option. When you link two maps to the same dataset you might get weird errors. And a snapshot is also much faster, because it creates 1 image.

Feb 13, 2014 at 1:13 AM
i'm still no idea about that, could you explain to me step by step ?
Feb 13, 2014 at 6:42 AM
Hi Paul,

I understand what you mean. I tried to think another way but I want my two maps to be able to offer the same functions (zooms, pans, select,, insert points). As they aren't the same size, it at least requires to recalculate pixels to use pixeltoproj for the "snapshoted" map and I'm afraid to discover other problems. Let me know if you don't think so.
Feb 14, 2014 at 1:14 PM
You can have a look at how it is done in MapWindow Desktop.
The code is available at