Wms Custom Provider

Hello @mcanitez

You can add a custom provider via the TileProviders.Add method.

Here’s a simple example that sets Open Street Maps as a custom provider.

// add definition of custom provider
int newID = (int)tkTileProvider.ProviderCustom;
axMap1.Tiles.Providers.Add(newID, "Custom Provider",
    "https://{switch:a,b,c}.tile.openstreetmap.org/{zoom}/{x}/{y}.png",
    tkTileProjection.SphericalMercator, 0, 18);
// set custom provider as the current provider
axMap1.Tiles.ProviderId = newID;
axMap1.Redraw3(tkRedrawType.RedrawSkipAllLayers, true);

Regards,
Jerry.

Addendum: you can find more information here, scrolling down for examples and explanations of custom providers.