<?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 Re: Value does not fall within the expected range: Map + MVVM + sdk:Frame in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/value-does-not-fall-within-the-expected-range-map/m-p/464794#M12003</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;A map can NOT be displayed twice. That's a limitation that won't exit with the new .Net API.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think this is the issue with API 3.2. I reverted to API 3.1 and now I can page to and away from Page B without the exception being thrown.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Jun 2014 05:38:17 GMT</pubDate>
    <dc:creator>MofoloMamabolo</dc:creator>
    <dc:date>2014-06-04T05:38:17Z</dc:date>
    <item>
      <title>Value does not fall within the expected range: Map + MVVM + sdk:Frame</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/value-does-not-fall-within-the-expected-range-map/m-p/464792#M12001</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: OraKLE&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a frame that navigates between two Pages: A and B. Page B contains a contentpresenter whose content is data bound to a Map component property on a singleton viewmodel. The map renders well when navigating to page B. However, an exception is thrown when navigating away from page B. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Code: 4004&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;System.ArgumentException: value does not fall within expected range.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried setting the NavigationCacheMode="Required" on both page A+B. The frame that does the navigation has JournalOwnership="OwnsJournal" set.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried declaring the Map component xaml in Page B, then data binding to the Layers property with a collection of layers on the viewmodel but this gives me a different error: Element is already a child of another element.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried adding a Map component in code behind of page B in the overridden OnNavigatedTo(NavigationEventArgs e) function, then removing it in&amp;nbsp; OnNavigatedFrom(NavigationEventArgs e), but this still gives me the same exception.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Would anyone kindly advise me on how to use the Map component in an sdk:Frame pagination scenario?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Apr 2014 11:22:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/value-does-not-fall-within-the-expected-range-map/m-p/464792#M12001</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2014-04-16T11:22:15Z</dc:date>
    </item>
    <item>
      <title>Re: Value does not fall within the expected range: Map + MVVM + sdk:Frame</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/value-does-not-fall-within-the-expected-range-map/m-p/464793#M12002</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: dbroux&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;A map can NOT be displayed twice. That's a limitation that won't exit with the new .Net API.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Additionally a layer can NOT be displayed in 2 maps because UI Elements can only be child of ONE parent.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;May be you could try to reset the map to null when leaving a page.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Apr 2014 06:16:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/value-does-not-fall-within-the-expected-range-map/m-p/464793#M12002</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2014-04-17T06:16:40Z</dc:date>
    </item>
    <item>
      <title>Re: Value does not fall within the expected range: Map + MVVM + sdk:Frame</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/value-does-not-fall-within-the-expected-range-map/m-p/464794#M12003</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;A map can NOT be displayed twice. That's a limitation that won't exit with the new .Net API.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think this is the issue with API 3.2. I reverted to API 3.1 and now I can page to and away from Page B without the exception being thrown.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jun 2014 05:38:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/value-does-not-fall-within-the-expected-range-map/m-p/464794#M12003</guid>
      <dc:creator>MofoloMamabolo</dc:creator>
      <dc:date>2014-06-04T05:38:17Z</dc:date>
    </item>
    <item>
      <title>Re: Value does not fall within the expected range: Map + MVVM + sdk:Frame</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/value-does-not-fall-within-the-expected-range-map/m-p/464795#M12004</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can confirm that rolling back to the 3.1 release resolved this same issue for an application with two maps. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Sep 2014 16:33:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/value-does-not-fall-within-the-expected-range-map/m-p/464795#M12004</guid>
      <dc:creator>BillRose</dc:creator>
      <dc:date>2014-09-19T16:33:40Z</dc:date>
    </item>
  </channel>
</rss>

