<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Trying to upgrade to 3.1 API - but problems with wraparound map in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/trying-to-upgrade-to-3-1-api-but-problems-with/m-p/259820#M6749</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am trying to upgrade to ESRI 3.1 Silverlight API.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am suddently getting this error.. on the load of my map. It is happening after some my basemap has been loaded.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;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.&amp;lt;Map_SizeChanged&amp;gt;b__d()\n at ESRI.ArcGIS.Client.ThrottleTimer.&amp;lt;.ctor&amp;gt;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)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried removing my MapExtentChanged and MapSizeChanged events, but still the same error. (sometime after those events have been hit)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, if I flip the wraparound property to False.. the error goes away, but that is obviously not a good option.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Casey&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 Oct 2013 18:35:17 GMT</pubDate>
    <dc:creator>caseycupp</dc:creator>
    <dc:date>2013-10-08T18:35:17Z</dc:date>
    <item>
      <title>Trying to upgrade to 3.1 API - but problems with wraparound map</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/trying-to-upgrade-to-3-1-api-but-problems-with/m-p/259820#M6749</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am trying to upgrade to ESRI 3.1 Silverlight API.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am suddently getting this error.. on the load of my map. It is happening after some my basemap has been loaded.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;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.&amp;lt;Map_SizeChanged&amp;gt;b__d()\n at ESRI.ArcGIS.Client.ThrottleTimer.&amp;lt;.ctor&amp;gt;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)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried removing my MapExtentChanged and MapSizeChanged events, but still the same error. (sometime after those events have been hit)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, if I flip the wraparound property to False.. the error goes away, but that is obviously not a good option.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Casey&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Oct 2013 18:35:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/trying-to-upgrade-to-3-1-api-but-problems-with/m-p/259820#M6749</guid>
      <dc:creator>caseycupp</dc:creator>
      <dc:date>2013-10-08T18:35:17Z</dc:date>
    </item>
  </channel>
</rss>

