ThinkGeo.com    |     Documentation    |     Premium Support

Can I post anything about the DailyBuild here?

Can I post anything about the DailyBuild here? Just not sure if thats verboten.


 



Of course, you can post your comments about the daily builds here. Any constructive comments from your users will help. Thank you.

First. the good news. Build 4…  
 The new build really increases performance for WPF. So MUCH better that its saving a project we are working on with a really low powered CPU.  
  
 On the other side I am still have problems with folders being created that are not in the zoom level cache.  
 such as…  7810.33588272695 
 I am not sure what needs to change but what I need is the app to go for a prebuild image cache with fixed zoom levels.  
 Val what am I doing wrong?

Val you have a base level sample code from me. I cant figure it out. I am still getting folders that have NOTHING to do with the CurrentScale which I set. I set the CurrentScale to point the component to the use the cache folder with that value. For basic performance its crucial that I am able to designate that the application go after and use the prebuild images. I have twisted every option that I can think of and to be honest I have may have twisted too many and that may be an issue as well.  
 Thanks for any insght.

Val is this issue tied to the rasterizer somehow? Why do I ask? I have one version that loads JP2 files and everything with the cache is fine. Now I load a version with a JPEG Image everything works very differently. I notice the same issue. I will get back to you after I experiment a bit more.  Skip this thought I already proved it wrong. I am still invsetigating..

 



OK GOT IT now I need some insight as how to handle this. 

If I dynamically set a new width and height of the control like this. 

winformsMap1.Height = NewHeight; 

winformsMap1.Width = NewWidth; 

The current scale is set to some fractional number and a folder is created.


The scale changes? Wasnt this fixed Yale?


I check it set it back but its already created about 1/2 dozen new png's in the Cache folder impacting performance.


How do I stop this from happening? 

I have tried Default SnapUp and NONE ZoomLevelSnappingMode.Default;

 


winformsMap1.ZoomLevelSnapping =



 


MapResizeMode.PreserveScale; 


Help? I am currently using Version 4.0


 


 



I have this set to preserve scale which means to me do not rescale if you get a new width and height.


winformsMap1.MapResizeMode =



Bob,


Thanks for your posts and investigations. If I did not make any wrong, the problem described should be exactly the same one in following post:

gis.thinkgeo.com/Support/Dis...aspx#16721


So, if possible, let us just keep only one thread.


Thanks.


Yale