<?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 MapView control on Android takes all tapings including from controls above MapView in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/mapview-control-on-android-takes-all-tapings/m-p/1607260#M13485</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have noticed that sometimes on Android MAUI&amp;nbsp;MapView control takes all tapings including from controls above MapView. I have tried to play with&amp;nbsp;InputTransparent property (which is by default is False), and no matter what value I set, behavior is the same.&lt;/P&gt;&lt;P&gt;It is easy to test on community sample "Create mobile geodatabase". You can edit existing&amp;nbsp;arcgis-maps-sdk-dotnet-samples-main\src\MAUI\Maui.Samples\Samples\Data\CreateMobileGeodatabase\CreateMobileGeodatabase.xaml file changing first 3 lines inside ContentPage. From:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;    &amp;lt;Grid Style="{DynamicResource EsriSampleContainer}"&amp;gt;
        &amp;lt;esriUI:MapView x:Name="MyMapView" Style="{DynamicResource EsriSampleGeoView}" /&amp;gt;
        &amp;lt;Border Style="{DynamicResource EsriSampleControlPanel}"&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;To:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;    &amp;lt;Grid ColumnDefinitions="*,Auto" Style="{DynamicResource EsriSampleContainer}"&amp;gt;
        &amp;lt;esriUI:MapView x:Name="MyMapView" Grid.ColumnSpan="2" Style="{DynamicResource EsriSampleGeoView}" /&amp;gt;
        &amp;lt;Border Grid.Column="1" Style="{DynamicResource EsriSampleControlPanel}" InputTransparent="False"&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;Tap somewhere below "Close and share" button and you will catch&amp;nbsp;MyMapView_GeoViewTapped event.&lt;/P&gt;&lt;P&gt;ArcGIS Runtime 200.7, but the same behavior with oldest versions.&lt;/P&gt;&lt;P&gt;Workaround, I have found, is add to each control&amp;nbsp;TapGestureRecognizer with "empty" Command like below:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;            &amp;lt;Border.GestureRecognizers&amp;gt;
                &amp;lt;TapGestureRecognizer /&amp;gt;
            &amp;lt;/Border.GestureRecognizers&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;It's ok if you have one control on top of MapView. In our case, we have several controls (buttons), hided/visible dock panels and etc. We don't want to change MapView width when dockpanels changes visibility state because it requires MapView refreshing.&lt;/P&gt;&lt;P&gt;Any help would be appreciated.&lt;/P&gt;</description>
    <pubDate>Fri, 18 Apr 2025 13:23:46 GMT</pubDate>
    <dc:creator>GKmieliauskas</dc:creator>
    <dc:date>2025-04-18T13:23:46Z</dc:date>
    <item>
      <title>MapView control on Android takes all tapings including from controls above MapView</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/mapview-control-on-android-takes-all-tapings/m-p/1607260#M13485</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have noticed that sometimes on Android MAUI&amp;nbsp;MapView control takes all tapings including from controls above MapView. I have tried to play with&amp;nbsp;InputTransparent property (which is by default is False), and no matter what value I set, behavior is the same.&lt;/P&gt;&lt;P&gt;It is easy to test on community sample "Create mobile geodatabase". You can edit existing&amp;nbsp;arcgis-maps-sdk-dotnet-samples-main\src\MAUI\Maui.Samples\Samples\Data\CreateMobileGeodatabase\CreateMobileGeodatabase.xaml file changing first 3 lines inside ContentPage. From:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;    &amp;lt;Grid Style="{DynamicResource EsriSampleContainer}"&amp;gt;
        &amp;lt;esriUI:MapView x:Name="MyMapView" Style="{DynamicResource EsriSampleGeoView}" /&amp;gt;
        &amp;lt;Border Style="{DynamicResource EsriSampleControlPanel}"&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;To:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;    &amp;lt;Grid ColumnDefinitions="*,Auto" Style="{DynamicResource EsriSampleContainer}"&amp;gt;
        &amp;lt;esriUI:MapView x:Name="MyMapView" Grid.ColumnSpan="2" Style="{DynamicResource EsriSampleGeoView}" /&amp;gt;
        &amp;lt;Border Grid.Column="1" Style="{DynamicResource EsriSampleControlPanel}" InputTransparent="False"&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;Tap somewhere below "Close and share" button and you will catch&amp;nbsp;MyMapView_GeoViewTapped event.&lt;/P&gt;&lt;P&gt;ArcGIS Runtime 200.7, but the same behavior with oldest versions.&lt;/P&gt;&lt;P&gt;Workaround, I have found, is add to each control&amp;nbsp;TapGestureRecognizer with "empty" Command like below:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;            &amp;lt;Border.GestureRecognizers&amp;gt;
                &amp;lt;TapGestureRecognizer /&amp;gt;
            &amp;lt;/Border.GestureRecognizers&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;It's ok if you have one control on top of MapView. In our case, we have several controls (buttons), hided/visible dock panels and etc. We don't want to change MapView width when dockpanels changes visibility state because it requires MapView refreshing.&lt;/P&gt;&lt;P&gt;Any help would be appreciated.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Apr 2025 13:23:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/mapview-control-on-android-takes-all-tapings/m-p/1607260#M13485</guid>
      <dc:creator>GKmieliauskas</dc:creator>
      <dc:date>2025-04-18T13:23:46Z</dc:date>
    </item>
  </channel>
</rss>

