Bug 57538 - Setting InputTransparent on Map or Map parent doesn't do anything
Summary: Setting InputTransparent on Map or Map parent doesn't do anything
Status: RESOLVED FIXED
Alias: None
Product: Forms
Classification: Xamarin
Component: Android ()
Version: 2.3.4
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Jimmy [MSFT]
URL:
Depends on:
Blocks:
 
Reported: 2017-06-15 21:17 UTC by Philipp Sumi
Modified: 2017-06-21 22:49 UTC (History)
2 users (show)

Tags: ac android map inputtransparent
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FIXED

Description Philipp Sumi 2017-06-15 21:17:08 UTC
I have a map with two pins to highlight a route. The map is centered between the two locations. The map is set to be InputTransparent, and so is the Grid that contains the map. However, double-tapping on the map still causes zooming, and tapping a pin centers the map on the pin and shows the context info, thus scrolling the other pin out of view.

                    <Grid InputTransparent="True">
                        <Map InputTransparent="True" />
                    </Grid>
Comment 1 Jimmy [MSFT] 2017-06-21 22:49:34 UTC
I was able to reproduce this with the Map sample[1] when using 2.3.4.247. 

However I updated the sample to 2.3.5-pre3 and this issue appears to be resolved. The map no longer responds to touch events when InputTransparent is true.

[1] https://developer.xamarin.com/samples/xamarin-forms/WorkingWithMaps/