This project is read-only.

Multiple instances of MapwinGIS in one application

Feb 25 at 8:33 PM
Edited Feb 25 at 8:33 PM
Hi all,

I'm trying to add a second Map control to a same Windows Form (but in another Tabpage of a TabControl).
When building the application, it says that the namespace is ambiguous.
When removing the seconde Map control...everything works fine.
Anyone a clue how to solve this...if it's solvable :-)

Thanks in advance,
Meindert
Mar 2 at 8:51 PM
I'm not sure what language you are working in. I've recently been trying to use MapWinGIS within Delphi XE7. However, I have got an app with two map controls working just fine. However, to get the Map control working at all I did have to rename the classes in the imported delphi type library since MapWinGIS uses rather generic names such as TMap, TTable etc which are already standard types used in Delphi. I renamed everything as TmwMap and TmwTable etc. Perhaps there is a somewhat similar process you will need to go through for your environment/language?

Hope this helps!