hello, something causing app crash and is probably related to TilesThreadPoolSize property value and when tile provider is openstreetmap and/or when the user switches between providers and the map has not finished loading all tiles.
when TilesThreadPoolSize =30 crashes are more often compare to value of 5.
here is the settings I use:
var gc = new GlobalSettings()
BingApiKey = bingKey,
AllowProjectionMismatch = true,
ReprojectLayersOnAdding = true,
ApplicationCallback = new Callback(),
LabelsCollisionMode = tkCollisionMode.LocalList,
TilesThreadPoolSize = 30,
gc.HotTrackingMaxShapeCount = 1;
axMap1.Tiles.set_UseCache(tkCacheType.Disk, true); // is on by default
axMap1.Tiles.set_UseCache(tkCacheType.RAM, true); // is on by default
axMap1.Tiles.set_DoCaching(tkCacheType.RAM, true); // is on by default
axMap1.Tiles.set_DoCaching(tkCacheType.Disk, true); // is off by default
Thread size plays a role I think.
making more testing about this issue I can say that prior to app crash there is a noticeable delay in tile loading, especially for openstreetmap. So maybe there are some sort of rejected requests from the tile server not properly handled in mapwingis, although not sure if that is the case.