TilePrefetcher process

Topics: Help, WPF
Jul 11, 2014 at 4:30 PM
I am trying to generate "packages" of prefetched areas.

Either I am not doing this properly, or my understanding of this feature is wrong.

First I get the selected area which gives me the RectLatLng object.

Then, like in the demo, I loop through zoom levels to the MaxZoom.
for (int i = (int)wMap.Zoom; i <= wMap.MaxZoom; i++)
            {
                TilePrefetcher tpf = new TilePrefetcher() { Owner = this, ShowCompleteMessage = true };
                tpf.Start(area, i, wMap.MapProvider, 100);                
            }
Everything appear to work there, however, when I try to zoom in, the message states the tiles are not available.

I have added Export / Import after the looping, loaded the export in the demo app, but the higher zoom level tiles do not appear. There do seem to be some other random tiles found.
May 5, 2015 at 6:30 PM
To solve this, I created a usercontrol that extends the functionality of tileprefetcher adding new methods and events.
Feb 8 at 8:39 PM
krisket,

could you elaborate? that was a really vague solution you provided, and not so helpful. I am encountering something similar but post is currently a dead end.

any code snippets would be really good.