Xamarin.Forms.GoogleMaps icon indicating copy to clipboard operation
Xamarin.Forms.GoogleMaps copied to clipboard

Cannot pan or zoom with Xamarin.Forms Shell

Open marcellangmaier opened this issue 5 years ago • 7 comments

VERSIONS

  • Xamarin.Forms.GoogleMaps - 3.2.0
  • Xamarin.Forms - 4.0.0.394984-pre10
  • Visual Studio 2019 Preview 3

PLATFORMS

  • [X ] Android

ACTUAL BEHAVIOR

Cannot pan and zoom in MapView.

HOW TO REPRODUCE

  1. Use shell template application
  2. Add a simple mappage
  3. Try panning or zooming

Demo solution

MapTest.zip

marcellangmaier avatar May 10 '19 08:05 marcellangmaier

I had similar issue even though I use the latest preview. This is happening when the map controller are in Shell.

Device: Samsung Galaxy A70 (Pie 9.0)

rizamarhaban avatar May 19 '19 05:05 rizamarhaban

I experienced this as well, it's an issue with using a map in a Shell application.

The issue has been reported to the Xamarin Forms team here: https://github.com/xamarin/Xamarin.Forms/issues/5306

andysinclair avatar May 20 '19 08:05 andysinclair

Also this: https://github.com/xamarin/Xamarin.Forms/issues/5381 https://github.com/xamarin/Xamarin.Forms/issues/6060

rizamarhaban avatar May 20 '19 14:05 rizamarhaban

Experiencing the same issue even without using a Shell application.

ElishaMisoi avatar May 23 '19 20:05 ElishaMisoi

I have the same issue without shell using Shell too Xamarin.Forms 4.2.0.848062 Xamarin.Forms.GoogleMaps 3.2.0, 3.2.1 Platform: Android Update: Now I got it. The map got this issue when I put it into a ContentView and that ContentView into a Frame, but when I put the map into ContentPage directly it works fine.

AmirImam avatar Oct 18 '19 19:10 AmirImam

Ended up working for me too with that approach @Amirlmam 👍

ElishaMisoi avatar Oct 21 '19 06:10 ElishaMisoi

I am facing the issue within a shell application. The map is not inside a content view but a content page. Has anyone figured any solution? (Acting as a showstopper)

parvk avatar May 19 '20 15:05 parvk