Trying to evaluate the Silverlight edition of MapSuite, I would like to have a simple Map with Google as background and a WmsOverlay over it.
First I'm trying to have Google and I copy the sample provided in your VS2008 C# solution.
When running, I get an OverflowException.
My config is : Windows 7 x64 French, VS 2008 Team Suite SP1...
Here is the stack trace :
Détails de l’erreur de la page Web
Agent utilisateur : Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; GTB6.3; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.2; .NET4.0C; .NET4.0E)
Horodateur : Tue, 7 Sep 2010 15:31:16 UTC
Message : Sys.InvalidOperationException: ManagedRuntimeError error #4004 in control 'SilverlightMapConnector1': System.OverflowException: L'opération arithmétique a provoqué un dépassement de capacité.
à System.Convert.ToInt64(Double value)
à ThinkGeo.MapSuite.SilverlightEdition.WmsOverlay.xc6f73c2fdb9eb72d(RectangleShape xb35a33b423b17f65, RectangleShape xa4ecffa39a64a039, Double x24e8814527642864, Int32 xc9855a055eb205f4, Int32 x88270fbf5293303b)
à ThinkGeo.MapSuite.SilverlightEdition.WmsOverlay.x5f3f7df7500bf8b4(Canvas x31c084515ae9393f, RectangleShape xb35a33b423b17f65, Int32 x8c48a4dc6d63ef75, Int32 xb228ac7781d1068b, Int32 xc9855a055eb205f4, Int32 x88270fbf5293303b, Collection`1 xb309cb779aa07274)
à ThinkGeo.MapSuite.SilverlightEdition.WmsOverlay.DrawCore(RectangleShape worldExtent)
à ThinkGeo.MapSuite.SilverlightEdition.GoogleOverlay.DrawCore(RectangleShape worldExtent)
à ThinkGeo.MapSuite.SilverlightEdition.GoogleOverlay.<>c__DisplayClass2.<Draw>b__0()
Ligne : 437
Caractère : 17
Code : 0
URI : mapsuite/ScriptResource.axd?...ffc3098c52
Where "mapsuite" is an host registered locally in my hosts files. TWeb site is hosted locally using IIS7.
Any idea ?
Thanks