<?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 Esri.ArcGISRuntime.Xamarin.Form - MapView in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/esri-arcgisruntime-xamarin-form-mapview/m-p/87778#M916</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm developing a mobile product utilizing Esri.ArcGISRuntime.Xamarin.form nuget package and I'm having trouble adding a MapView to a Xamarin.Forms.AbsoluteView container. When I look at the documentation I see the mapview inherits from Xamarin.forms.view however when I go to add this child I'm receiving a message that the view is not what it needs to be. In VS2015 when I follow out the definitions of a mapview it takes me to Android.Views.View.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;***************CODE SNIPPET&lt;SPAN&gt;***************&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;using Esri.ArcGISRuntime;&lt;BR /&gt;using Esri.ArcGISRuntime.Geometry;&lt;BR /&gt;using Esri.ArcGISRuntime.Mapping;&lt;BR /&gt;using Esri.ArcGISRuntime.Symbology;&lt;BR /&gt;using Esri.ArcGISRuntime.UI;&lt;BR /&gt;using Esri.ArcGISRuntime.UI.Controls;&lt;BR /&gt;using Xamarin.Forms;&lt;/P&gt;&lt;P&gt;public class MapControlView : ContentPage&lt;BR /&gt; {&lt;BR /&gt;&amp;nbsp; // Create and hold reference to the used MapView&lt;BR /&gt;&amp;nbsp; private MapView _myMapView = new MapView();&lt;/P&gt;&lt;P&gt;&amp;nbsp; private void CreateLayout()&lt;BR /&gt;&amp;nbsp; {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; Xamarin.Forms.AbsoluteLayout simpleLayout = new Xamarin.Forms.AbsoluteLayout&lt;BR /&gt;&amp;nbsp; &amp;nbsp; {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; VerticalOptions = LayoutOptions.FillAndExpand&lt;BR /&gt;&amp;nbsp; &amp;nbsp; };&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;simpleLayout.Children.Add(_myMapView);&lt;BR /&gt;&amp;nbsp; &amp;nbsp; // Show the layout in the app&lt;BR /&gt;&amp;nbsp; &amp;nbsp; this.Content = new StackLayout&lt;BR /&gt;&amp;nbsp; &amp;nbsp; {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Children = {simpleLayout}&lt;BR /&gt;&amp;nbsp; &amp;nbsp; };&lt;BR /&gt;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 19 May 2017 15:25:53 GMT</pubDate>
    <dc:creator>JimFiddes</dc:creator>
    <dc:date>2017-05-19T15:25:53Z</dc:date>
    <item>
      <title>Esri.ArcGISRuntime.Xamarin.Form - MapView</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/esri-arcgisruntime-xamarin-form-mapview/m-p/87778#M916</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm developing a mobile product utilizing Esri.ArcGISRuntime.Xamarin.form nuget package and I'm having trouble adding a MapView to a Xamarin.Forms.AbsoluteView container. When I look at the documentation I see the mapview inherits from Xamarin.forms.view however when I go to add this child I'm receiving a message that the view is not what it needs to be. In VS2015 when I follow out the definitions of a mapview it takes me to Android.Views.View.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;***************CODE SNIPPET&lt;SPAN&gt;***************&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;using Esri.ArcGISRuntime;&lt;BR /&gt;using Esri.ArcGISRuntime.Geometry;&lt;BR /&gt;using Esri.ArcGISRuntime.Mapping;&lt;BR /&gt;using Esri.ArcGISRuntime.Symbology;&lt;BR /&gt;using Esri.ArcGISRuntime.UI;&lt;BR /&gt;using Esri.ArcGISRuntime.UI.Controls;&lt;BR /&gt;using Xamarin.Forms;&lt;/P&gt;&lt;P&gt;public class MapControlView : ContentPage&lt;BR /&gt; {&lt;BR /&gt;&amp;nbsp; // Create and hold reference to the used MapView&lt;BR /&gt;&amp;nbsp; private MapView _myMapView = new MapView();&lt;/P&gt;&lt;P&gt;&amp;nbsp; private void CreateLayout()&lt;BR /&gt;&amp;nbsp; {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; Xamarin.Forms.AbsoluteLayout simpleLayout = new Xamarin.Forms.AbsoluteLayout&lt;BR /&gt;&amp;nbsp; &amp;nbsp; {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; VerticalOptions = LayoutOptions.FillAndExpand&lt;BR /&gt;&amp;nbsp; &amp;nbsp; };&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;simpleLayout.Children.Add(_myMapView);&lt;BR /&gt;&amp;nbsp; &amp;nbsp; // Show the layout in the app&lt;BR /&gt;&amp;nbsp; &amp;nbsp; this.Content = new StackLayout&lt;BR /&gt;&amp;nbsp; &amp;nbsp; {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Children = {simpleLayout}&lt;BR /&gt;&amp;nbsp; &amp;nbsp; };&lt;BR /&gt;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 May 2017 15:25:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/esri-arcgisruntime-xamarin-form-mapview/m-p/87778#M916</guid>
      <dc:creator>JimFiddes</dc:creator>
      <dc:date>2017-05-19T15:25:53Z</dc:date>
    </item>
    <item>
      <title>Re: Esri.ArcGISRuntime.Xamarin.Form - MapView</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/esri-arcgisruntime-xamarin-form-mapview/m-p/87779#M917</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Moved this to the .NET stream rather than the Android stream as the Android stream refers to the native Android runtime.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 May 2017 15:28:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/esri-arcgisruntime-xamarin-form-mapview/m-p/87779#M917</guid>
      <dc:creator>AlexanderNohe1</dc:creator>
      <dc:date>2017-05-19T15:28:49Z</dc:date>
    </item>
    <item>
      <title>Re: Esri.ArcGISRuntime.Xamarin.Form - MapView</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/esri-arcgisruntime-xamarin-form-mapview/m-p/87780#M918</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, seems like a blurry line with Xamarin now.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 May 2017 15:31:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/esri-arcgisruntime-xamarin-form-mapview/m-p/87780#M918</guid>
      <dc:creator>JimFiddes</dc:creator>
      <dc:date>2017-05-19T15:31:02Z</dc:date>
    </item>
    <item>
      <title>Re: Esri.ArcGISRuntime.Xamarin.Form - MapView</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/esri-arcgisruntime-xamarin-form-mapview/m-p/87781#M919</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I agree.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 May 2017 15:33:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/esri-arcgisruntime-xamarin-form-mapview/m-p/87781#M919</guid>
      <dc:creator>AlexanderNohe1</dc:creator>
      <dc:date>2017-05-19T15:33:58Z</dc:date>
    </item>
    <item>
      <title>Re: Esri.ArcGISRuntime.Xamarin.Form - MapView</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/esri-arcgisruntime-xamarin-form-mapview/m-p/87782#M920</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Note that you're getting two MapView controls: You get the native Android Esri.ArcGISRuntime.UI.Controls.MapView control which is to be used in native non-forms Xamarin Android apps, and you get&amp;nbsp;Esri.ArcGISRuntime.Xamarin.Forms.MapView which should be used in Xamarin.Forms apps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 May 2017 18:18:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/esri-arcgisruntime-xamarin-form-mapview/m-p/87782#M920</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2017-05-19T18:18:50Z</dc:date>
    </item>
  </channel>
</rss>

