I am trying to set my own zoom levels, but it isn't working out very well.
When I load my GdiPlusRasterLayer, I call GetBoundingBox() on the layer and then calculate a rect about twice the size of the BoundingBox. I set that new larger rect as the CurrentExtent of the Map. That seems to work as I want.
I then take Map.CurrentScale and set that to be the scale of ZoomLevel01. I then run thru the other 19 ZoomLevels and set each one to be 70% of the value of the previous one. (so ZoomLevel02.Scale = 70% of ZoomLevel01.Scale, ZoomLevel03.Scale = 70% of ZoomLevel02.Scale, etc).
In my case, ZoomLevel01.Scale is 1126.46 and ZoomLevel20.Scale is 1.28
When I display the Map, things look OK, but only the first 5 Zoom Levels seem to work via scroll wheel. (ie ZoomLevel01 to ZoomLevel05) The scale for ZoomLevel05 is 270.46 and the scale for ZoomLevel06 is 189.32 (not that ZoomLevel06 seems to be available).
Can you tell me what is wrong with my ZoomLevels?
Dave