Hi,
It seems that when I set the BackgroundMap to a GoogleMap, I have an issue where the application crashes during a postback.
Here is what happens: I start the application (using the GoogleMap) with a default CurrentExtent of -140, 10, 140, 4, and this shows me the whole world. If I zoom out, the image that is rendered shows the GoogleMap 'tiled', or repeated. (This creates havoc, BTW, with a shape file that overlays the GoogleMap) In any case, when I perform an action that causes a postback to the server, the application crashes. I have set a break point on the Page_Load method, but it is never reached before the crash.
The error message states: "The double value is out of range. Parameter name: maxX"
Is this a bug, or am I doing something wrong? Is there is a way to limit the 'zoom out' so that you can't zoom out that far? Since the zoom functionality is done in JavaScript (Ajax?) and built into your control, I don't think I can control that functionality...true or not?
Any help would be appreciated. I need to be able to prevent this crash.
Thanks,
Tom
Here is the complete text shown in the browser:
Server Error in '/SelectCDs' Application.
The input double value is out of range.
Parameter name: maxX
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.ArgumentOutOfRangeException: The input double value is out of range.
Parameter name: maxX
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[ArgumentOutOfRangeException: The input double value is out of range.
Parameter name: maxX]
ThinkGeo.MapSuite.Core.x547f91e235e84727.x2be9d435579529c4(Double xbfda5a387f7f831f, String x0dd0c741c3800f4b, Double x97edb4541d2ddc2e, x23c0cb5ae68e11fe x9e96937cfeb45122, Double xdb117c7e5c899e75, x23c0cb5ae68e11fe x70514a72b00df1de) +97
ThinkGeo.MapSuite.Core.x547f91e235e84727.x81638b81e081b50e(Double xbfda5a387f7f831f, String x0dd0c741c3800f4b, Double x97edb4541d2ddc2e, x23c0cb5ae68e11fe x9e96937cfeb45122) +64
ThinkGeo.MapSuite.Core.RectangleShape..ctor(Double minX, Double maxY, Double maxX, Double minY) +60
ThinkGeo.MapSuite.WebEdition.Map.LoadPostData(String postDataKey, NameValueCollection postCollection) +1509
System.Web.UI.Page.ProcessPostData(NameValueCollection postData, Boolean fBeforeLoad) +661
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1194
Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433