As requested in https://github.com/MapWindow/MapWinGIS/issues/44
I have got my application working well against 2 WMS services. One of the issues I came across was that the 1 WMS system needed an extra parameter passed to it. So a GetCapabilities would look like this:
I needed the WMS=WorldMap parameter passed always. There is no way to do this in the current version of MapWinGIS because the base URL is always appended with a "?" and then GetCapabilities or GetMap etc. Then you get 2x "?" in the URL that goes to the WMS and it fails. So currently the base URL cannot contain any parameters of its own.
As a suggestion why don't you check if there is already a "?" in the base URL and then if it is present then use a "&" with GetCapabilities or GetMap for the extra parameters. So then my base URL would be:
In the BruTileHelper class in MW5 I see
This can be improved.