I’m working on a project where I am connecting to a WMS server to display a map. I have the map displaying correctly, and it creates the cache whenever the tile is displayed:
cacheOverlay = new WmsOverlay();
cacheOverlay.TileCache = new FileRasterTileCache(@“C:\Documents\WmsMapCache”, “cacheId”);
cacheOverlay.ServerUri = new Uri(“https://basemap.nationalmap.gov/arcgis/services/USGSTNMBlank/MapServer/WMSServer”);
I would like to be able to click a button and generate the cache across the world, so I have access to the cache without having to slowly, manually pan over the globe.