amay077 / Xamarin.Forms.GoogleMaps

Map library for Xamarin.Forms using Google maps API
https://www.nuget.org/packages/Xamarin.Forms.GoogleMaps/
MIT License
546 stars 346 forks source link

Cannot pan or zoom with Xamarin.Forms Shell #625

Open marcellangmaier opened 5 years ago

marcellangmaier commented 5 years ago

VERSIONS

PLATFORMS

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

rizamarhaban commented 5 years ago

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)

andysinclair commented 5 years ago

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

rizamarhaban commented 5 years ago

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

ElishaMisoi commented 5 years ago

Experiencing the same issue even without using a Shell application.

AmirImam commented 4 years ago

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.

ElishaMisoi commented 4 years ago

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

parvk commented 4 years ago

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)