ThinkGeo.com    |     Documentation    |     Premium Support

Exception while panning

Hi,


after some manipulation I'm receiving this exception while panning; please help.


This occurs in vs2008, ms 3.0.362, both in single & multithread.


Patrick.


Le format de la chaîne d'entrée est incorrect.

   à System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)

   à System.Number.ParseDouble(String value, NumberStyles options, NumberFormatInfo numfmt)

   à System.Double.Parse(String s, NumberStyles style, NumberFormatInfo info)

   à ThinkGeo.MapSuite.Core.FileBitmapTileCache.GetHigherScaleTileCore(RectangleShape tileBoundingBox, Double tileScale)

   à ThinkGeo.MapSuite.Core.BitmapTileCache.GetHigherScaleTile(RectangleShape tileBoundingBox, Double tileScale)

   à ThinkGeo.MapSuite.DesktopEdition.xae5a18c284d0ccc8.GetHigherScaleTileCore(RectangleShape tileBoundingBox, Double tileScale)

   à ThinkGeo.MapSuite.Core.BitmapTileCache.GetHigherScaleTile(RectangleShape tileBoundingBox, Double tileScale)

   à ThinkGeo.MapSuite.DesktopEdition.WinformsMap.DrawSinglePreview(Graphics graphics, Overlay overlay, BitmapTile bitmapTile)

   à ThinkGeo.MapSuite.DesktopEdition.WinformsMap.xf12dc5c7e687c240(Boolean x991dc8ddc7528b44, RectangleShape x178b193eec228e6e)

   à ThinkGeo.MapSuite.DesktopEdition.WinformsMap.x9ac8c50f434f4b39(Int32 xb565f4681f05557a)

   à ThinkGeo.MapSuite.DesktopEdition.WinformsMap.xae767d6c6f6af1ca(InteractionArguments x195facd4ef5d753d)

   à ThinkGeo.MapSuite.DesktopEdition.WinformsMap.xfeca3317d3c75bbb(Object xd9272088e65bd176, x6a8380ab1a7ebb4c xc2fd4c0ed406cdb7)

   à ThinkGeo.MapSuite.DesktopEdition.x5cd462d41be2f68a.OnMouseEvent(x6a8380ab1a7ebb4c e)

   à ThinkGeo.MapSuite.DesktopEdition.x5cd462d41be2f68a.AnalyseMouseMove(Double screenX, Double screenY, Double worldX, Double worldY)

   à ThinkGeo.MapSuite.DesktopEdition.WinformsMap.x7df2db1d74504263(Object xd9272088e65bd176, MouseEventArgs xc2fd4c0ed406cdb7)

   à System.Windows.Forms.Control.WmMouseMove(Message& m)

   à System.Windows.Forms.Control.WndProc(Message& m)

   à System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)

   à System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)



Patrick,


Thanks for your reporting!
 
I think this should be a potential bug.
 
For example, the folder name is “147647947.5” for one specified scale tile cache.
 
Original, when we get scale for it, we do as following which seems incorrect in your French environment:

scales[i] = double.Parse(directoryInfos[i].Name);

 

Now I have changed it to following, it should work:

double.Parse(directoryInfos<i>.Name,CultureInfo.InvariantCulture);

 

It will be ready in next release!
Any more questions please feel free to let me know.
 
Thanks.
 
Yale



Only one question … I’m in rush on this one; may I have an intermediate release?

Patrick, 
  
 Thanks for your post and patience! 
  
 I think we can send you a temporary version very soon, while I want to point out there is a couple of difference made to the Desktop Edition, one big difference for example is, we have moved the cache system from MapControl to Overlay for much more control and better performance, by default the cache is turned off, you have to turn on the cache manually. 
  
 Besides, we probably will have a public release at the end of this month for those changes. 
  
 Let me know if you still need a temporary version (3.0.390). 
  
 Thanks. 
  
 Yale 


Yale, 
  
 yes, I definitively need it by the end of this week. 
  
 Thank you, 
 Patrick.

Patrick, 
  
 I have asked our support to send you a temporary version (3.0.391). 
  
 Any more questions just let me know. 
  
 Thanks. 
  
 Yale