Hello,
Our application uses ArcGIS Maps SDK for .NET. 200.8.
We're currently adding base maps using the following gallery:
https://services.arcgisonline.com/arcgis/rest/services/Canvas/World_Light_Gray_Base/MapServer
https://services.arcgisonline.com/arcgis/rest/services/World_Street_Map/MapServer
https://services.arcgisonline.com/arcgis/rest/services/NatGeo_World_Map/MapServer
https://services.arcgisonline.com/arcgis/rest/services/Ocean/World_Ocean_Base/MapServer
etc.
We would like to switch to using the new authoritative vector tile base maps. However, all the new authoritative vector tile base maps seem to have the same URL:
https://basemaps.arcgis.com/arcgis/rest/services/World_Basemap_v2/VectorTileServer
For example, if I open the Light Gray Canvas Base web page:
https://www.arcgis.com/home/item.html?id=291da5eab3a0412593b66d384379f8
it still contains the same URL:
https://basemaps.arcgis.com/arcgis/rest/services/World_Basemap_v2/VectorTileServer
Could you please provide a recommendation on how to create a gallery of the base maps referencing the new authoritative vector tile base maps?
Thank you
Slava
They have the same service url because the data is the same. What is different is which style is getting applied.
You can use the BasemapStyles enumeration to create all your basemaps, or use the Portal APIs to query all the vector basemaps for that portal.
In addition to what @SomeGISGuy said above, since you mentioned creating a gallery, there is also the ArcGIS Maps SDK for .NET toolkit, which includes an open-source Basemap Gallery component.
Thank you for your suggestions. I will try and post the results.
Sorry for the delay in responding. Using the BasemapStyles enum that is creating a Besemap chosen from a gallery, for example new Basemap(BasemapStyle.ArcGISLightGray) when light gray is chosen, is the way to go. However developers need to remember to create an Api Key: