I am trying to upgrade to ESRI 3.1 Silverlight API.I am suddently getting this error.. on the load of my map. It is happening after some my basemap has been loaded.Application_UnhandledExceptionSystem.ArgumentNullException: Value cannot be null.\nParameter name: SpatialReference\n at ESRI.ArcGIS.Client.Utils.Normalization.Normalize(Geometry g)\n at ESRI.ArcGIS.Client.Geometry.Geometry.NormalizeCentralMeridian(Geometry g)\n at ESRI.ArcGIS.Client.LayerCanvas.ClipBox(MapPoint origin, Double resolution, Boolean isWrapAround)\n at ESRI.ArcGIS.Client.Map.CheckClipBox()\n at ESRI.ArcGIS.Client.Map.<Map_SizeChanged>b__d()\n at ESRI.ArcGIS.Client.ThrottleTimer.<.ctor>b__1(Object s, EventArgs e)\n at MS.Internal.CoreInvokeHandler.InvokeEventHandler(UInt32 typeIndex, Delegate handlerDelegate, Object sender, Object args)\n at MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, Int32 actualArgsTypeIndex, String eventName, UInt32 flags)I tried removing my MapExtentChanged and MapSizeChanged events, but still the same error. (sometime after those events have been hit)However, if I flip the wraparound property to False.. the error goes away, but that is obviously not a good option.Casey
Los miembros registrados pueden publicar, seguir actualizaciones y más. ¿Nuevo aquí? Regístrate gratis.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.