Hi,
I used PrefetchToFolder() function to get tiles from providers and save then to a folder. this section work fine. then I run a local web with a web server on my computer. the address of my local provider is
I used PrefetchToFolder() function to get tiles from providers and save then to a folder. this section work fine. then I run a local web with a web server on my computer. the address of my local provider is
http://localhost/myMap
but when I want to use this custom provider for using this provider, not working. I use these codes:TileProviders providers = axMap1.Tiles.Providers;
int providerId = (int)tkTileProvider.ProviderCustom + 1;
providers.Add(providerId, "myProvider", "http://localhost/myMap/{zoom}/{x}/{y}.png", tkTileProjection.SphericalMercator, 0, 18);
axMap1.Tiles.ProviderId = providerId;
I test the address for access to tiles and it works but the custom tile provider for my axmap not working. anybody can help to me?