# Use Arcgis custom provider

**URL:** <https://mapwindow.discourse.group/t/use-arcgis-custom-provider/164>\
**Category:** MapWinGIS\
**Created:** [May 20, 2019, 3:40pm UTC](https://mapwindow.discourse.group/t/use-arcgis-custom-provider/164 "2019-05-20T15:40:16Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![jerryfaust](https://yyz2.discourse-cdn.com/free1/user_avatar/mapwindow.discourse.group/jerryfaust/32/378_2.png) [@jerryfaust](https://mapwindow.discourse.group/u/jerryfaust)\
**Post date:** [May 20, 2019, 7:24pm UTC](https://mapwindow.discourse.group/t/use-arcgis-custom-provider/164/2 "2019-05-20T19:24:22Z")

</div>

Here’s how I have done it. I used the CustomProvider option rather than the WmsLayer option, and I notice that the URL I am using is different. But this is the one we are licensed for; perhaps yours is different, and you may need to modify this accordingly.

Regards.  
Jerry.

```
    Dim ID As Integer = tkTileProvider.ProviderCustom
    ' add custom provider definition
    AxMap1.Tiles.Providers.Add(ID, "ESRI",
        "https://services.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/tile/{zoom}/{y}/{x}",
        tkTileProjection.SphericalMercator, 0, 19,
        "Esri, DigitalGlobe, GeoEye, i-cubed, USDA FSA, USGS, AEX, Getmapping, Aerogrid, IGN, IGP, swisstopo, and the GIS User Community")

    ' set custom provider
    AxMap1.Tiles.ProviderId = ID

    AxMap1.Redraw3(tkRedrawType.RedrawSkipAllLayers, True)
```

---

_[View the full topic](https://mapwindow.discourse.group/t/use-arcgis-custom-provider/164)._
