<?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: Error in Mobile SDK Example in ArcGIS for Windows Mobile Questions</title>
    <link>https://community.esri.com/t5/arcgis-for-windows-mobile-questions/error-in-mobile-sdk-example/m-p/746302#M3145</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I wonder what is difference between &lt;STRONG&gt;ESRI.ArcGIS.Mobile.Map&lt;/STRONG&gt;&amp;nbsp; and&amp;nbsp; &lt;STRONG&gt;ESRI.ArcGIS.Mobile.WPF.Map &lt;/STRONG&gt;&amp;nbsp; ?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Both are map controls. &lt;/SPAN&gt;&lt;STRONG&gt;ESRI.ArcGIS.Mobile.Map&lt;/STRONG&gt;&lt;SPAN&gt; is a WinForms control; &lt;/SPAN&gt;&lt;STRONG&gt;ESRI.ArcGIS.Mobile.WPF.Map&lt;/STRONG&gt;&lt;SPAN&gt; is a WPF control.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 23 Aug 2010 18:05:25 GMT</pubDate>
    <dc:creator>ScottSimon</dc:creator>
    <dc:date>2010-08-23T18:05:25Z</dc:date>
    <item>
      <title>Error in Mobile SDK Example</title>
      <link>https://community.esri.com/t5/arcgis-for-windows-mobile-questions/error-in-mobile-sdk-example/m-p/746299#M3142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;There is an overview for the ESRI.ArcGIS.Mobile.WPF.Map Class at:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/arcgismobile/10.0/apis/ArcGISMobile/ESRI.ArcGIS.Mobile~ESRI.ArcGIS.Mobile.WPF.Map.html"&gt;http://help.arcgis.com/en/arcgismobile/10.0/apis/ArcGISMobile/ESRI.ArcGIS.Mobile~ESRI.ArcGIS.Mobile.WPF.Map.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There is an example on that page on how to create and use the map control with a MobileServiceConnection.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The method they show to actually assign the map cache to the map object is:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;map1.DataSources.Add(mobileCache1); &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, the ESRI.ArcGIS.Mobile.WPF.Map object has no member called "DataSources".&amp;nbsp; It has "DataContext", but this has not worked for assigning the Mobile Cache to the map object.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any ideas?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Seth&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 24 Jul 2010 16:22:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-for-windows-mobile-questions/error-in-mobile-sdk-example/m-p/746299#M3142</guid>
      <dc:creator>SethPatrich</dc:creator>
      <dc:date>2010-07-24T16:22:20Z</dc:date>
    </item>
    <item>
      <title>Re: Error in Mobile SDK Example</title>
      <link>https://community.esri.com/t5/arcgis-for-windows-mobile-questions/error-in-mobile-sdk-example/m-p/746300#M3143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Map.MapLayers.AddRange(_mobileCache);&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Aug 2010 14:09:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-for-windows-mobile-questions/error-in-mobile-sdk-example/m-p/746300#M3143</guid>
      <dc:creator>DarleneBanta</dc:creator>
      <dc:date>2010-08-10T14:09:23Z</dc:date>
    </item>
    <item>
      <title>Re: Error in Mobile SDK Example</title>
      <link>https://community.esri.com/t5/arcgis-for-windows-mobile-questions/error-in-mobile-sdk-example/m-p/746301#M3144</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I wonder what is difference between &lt;/SPAN&gt;&lt;STRONG&gt;ESRI.ArcGIS.Mobile.Map&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp; and&amp;nbsp; &lt;/SPAN&gt;&lt;STRONG&gt;ESRI.ArcGIS.Mobile.WPF.Map &lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp; ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Aug 2010 18:44:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-for-windows-mobile-questions/error-in-mobile-sdk-example/m-p/746301#M3144</guid>
      <dc:creator>AlexProtyagov</dc:creator>
      <dc:date>2010-08-11T18:44:28Z</dc:date>
    </item>
    <item>
      <title>Re: Error in Mobile SDK Example</title>
      <link>https://community.esri.com/t5/arcgis-for-windows-mobile-questions/error-in-mobile-sdk-example/m-p/746302#M3145</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I wonder what is difference between &lt;STRONG&gt;ESRI.ArcGIS.Mobile.Map&lt;/STRONG&gt;&amp;nbsp; and&amp;nbsp; &lt;STRONG&gt;ESRI.ArcGIS.Mobile.WPF.Map &lt;/STRONG&gt;&amp;nbsp; ?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Both are map controls. &lt;/SPAN&gt;&lt;STRONG&gt;ESRI.ArcGIS.Mobile.Map&lt;/STRONG&gt;&lt;SPAN&gt; is a WinForms control; &lt;/SPAN&gt;&lt;STRONG&gt;ESRI.ArcGIS.Mobile.WPF.Map&lt;/STRONG&gt;&lt;SPAN&gt; is a WPF control.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Aug 2010 18:05:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-for-windows-mobile-questions/error-in-mobile-sdk-example/m-p/746302#M3145</guid>
      <dc:creator>ScottSimon</dc:creator>
      <dc:date>2010-08-23T18:05:25Z</dc:date>
    </item>
    <item>
      <title>Re: Error in Mobile SDK Example</title>
      <link>https://community.esri.com/t5/arcgis-for-windows-mobile-questions/error-in-mobile-sdk-example/m-p/746303#M3146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;From what I can tell, that entire code snippit is for the older WinForms control, even though the help topic is for the new WPF map and other controls.&amp;nbsp; Unfortunately I've seen MANY such inconsistencies in the version 10 help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In any case, I believe what you are looking for is:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;mapControl1.MapLayers.AddRange(mobileCache);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you look at the "Walkthrough_WPF" sample under "C:\Program Files\ArcGIS\Mobile10.0\DeveloperKit\Samples\MobileApplications" this might help you.&amp;nbsp; I am unable to get that sample to run at the moment, but that's another story/post!!!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Sep 2010 16:45:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-for-windows-mobile-questions/error-in-mobile-sdk-example/m-p/746303#M3146</guid>
      <dc:creator>DavidMarley</dc:creator>
      <dc:date>2010-09-21T16:45:29Z</dc:date>
    </item>
  </channel>
</rss>

