EOX Sentinel-2 as custom tile provider

Hi All

I was wondering if anyone has managed to successfully use Sentinel 2 images (from EOX – see https://s2maps.eu/ or any other source) as a custom tile provider in mapwingis? I have been successful in displaying them in a web browser, but unable to add them as a tile provider for mapwingis, either as WMS and WMST. The getcapabilities xml is available for these services here:

And the corresponding URLs (that work in a browser) are:

The code I am using (Visual Basic in Visual Studio 2010) is:

WMS:

Dim copurl As String

copurl = “https://tiles.maps.eox.at/wms?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&LAYERS=s2cloudless-2023_3857&STYLES=&SRS=EPSG:900913&BBOX=-20037508.342789,-20037508.342789,20037508.342789,20037508.342789&WIDTH=256&HEIGHT=256&FORMAT=image/jpeg

AxMap1.Tiles.Providers.Add(tkTileProvider.ProviderCustom, “EOX Sentinel-2 WMS”, copurl, tkTileProjection.SphericalMercator, , , “Copernicus Sentinel-2 imagery, EOX”)

AxMap1.Tiles.ProviderId = tkTileProvider.ProviderCustom

AxMap1.Redraw3(tkRedrawType.RedrawSkipAllLayers, True)

WMST:

Dim copurl As String

copurl = “http://tiles.maps.eox.at/wmts/1.0.0/s2cloudless-2023_3857/default/GoogleMapsCompatible/0/0/0.jpg

AxMap1.Tiles.Providers.Add(tkTileProvider.ProviderCustom, “EOX Sentinel-2 WMST”, copurl, tkTileProjection.SphericalMercator, , , “Copernicus Sentinel-2 imagery, EOX”)

AxMap1.Tiles.ProviderId = tkTileProvider.ProviderCustom

AxMap1.Redraw3(tkRedrawType.RedrawSkipAllLayers, True)

In both instances, the code fails to add the provider.

Please let me know if you have successfully achieved this, if so how, and/or if my code needs adjusting; and/or whether this is possible or not.

Thanks in advance.

John