ThinkGeo.com    |     Documentation    |     Premium Support

"The input double value is out of range : Parametername : wolrdX " after Upgrade to beta 2

Hello,


I'm encoutering a problem since I upgraded to beta 2 :


When calling the methods ExtentHelper.ToScreenCoordinate or MapEngine.ToScreenCoordinate, I get the following error : "The input double value is out of range : Parametername : wolrdX"


I didn't change the code where I get this error since the upgrade.


Here the code I usee, and the values for the variables :


 


 var miniUpperLeft = MapEngine.ToScreenCoordinate(FullMapExtent, UpperLeftPoint, miniWidth, miniHeight);


 


FullMap extent is : 

upperleft : X=155 000 / Y=583 050

lowerRight : X=1 365 000 / Y=-253050

 


UpperLeftPoint is :

X=708 183 / Y=287501



miniWidth=200

miniHeight=150



I seems that the UpperLeftPoint is right in the FullMapExtentArea, so I don't really understood the errorMessage.

Am I missing something ?

Thanks,

Guillaume.



Guillaume, 
  
   We just relelased a patch version a few hours ago to fix this issue.  Please get the newest version and it should be fixed.  Sorry! 
  
 David

Ok, thank you !

Guillaume, 
  
   Our pleasure. 
  
 David