I thought if I set my mapScale to 485413.57628360949 then it would grab my generated tiles instead of regenerating them, but no luck, it still wants to regenerate them. I think its just a mapscale issue, do you know how to get the mapscale of the generated tiles so I can put it set it via the IMapControl.mapScale interface?

Here's what happened next:

1) I used mapcruncher to generate tiles, it also generated a conf.xml
2) I open conf.xml to get the mapscales
3) I hard coded those mapscales in as my zoom levels
4) Dynamically generate the tiles at my hard coded zoom level
5) compare the mapcruncher generated tiles to the tiles which are dynamically created

The MapCruncher files start at Level 0 - 8, and the images are numbered in an orderly fashion.

C0000000.png C0000001.png... etc.

But the dynamically generated pngs are in the following format

C0000003d.png even if only 1 png represents the whole map. One would expect C00000000.png here....

1 Answer
1

I found another angle to solve my problem, but it doesn't use the MapCruncher sample. As far as I can tell MapCruncher is gigantic untested waste of time and it's my belief that it cannot be made to work. After analyzing the code there are not enough public variables for me to manipulate to give me a hope of solving the problem. But enough with that. Here's the workaround:

Basically you have a list of doubles which hold your desired mapscales.