Questions tagged [google-maps-flutter]

226 questions
1
vote
0 answers

Way to disable background gesture/tap actions behind floating action button?

I am developing an app in flutter using the google_maps_flutter package. I listen for user taps on the screen and record the lat/lng of that press. However, I do not want this to record the user tap when they hit the floating action button. Is there…
1
vote
0 answers

fixed marker shifted above camera position google maps flutter

i have an app that have google map with a fixed marker centered on the top half of screen ... i do know how to update marker position according to camera position , i already tried to shift camera away from marker location by using 256 / math.pow(2,…
1
vote
0 answers

How can I zoom past level 21 in Google Maps Flutter?

My application needs to show very fine zoom levels, maybe up to 26 or 27. I tried to set mapType = MapType.none, include my overlay, and set minMaxZoomPreference: const MinMaxZoomPreference(0, 30) on my GoogleMap object, but the zoom is still…
Crag
  • 1,723
  • 17
  • 35
1
vote
0 answers

flutter google_maps can't zoom out any further

As the picture below, I've been searching everywhere about this issue but still cant find any solution. About my code, i use the very default sample from google_maps_flutter, but it still doesnt let me zoom out any further from my default…
1
vote
0 answers

Google Maps Flutter Not Showing Map Toolbar and Zoom Controls On iOS Simulator

I have set up google_maps_flutter as in the code below with zoomControlsEnabled: true and mapToolbarEnabled: true. I want to use the Map Toolbar for assisted point-to-point navigation with Google Maps. The Tool Bar Shows up on the map when I click a…
1
vote
2 answers

Google Maps Marker using Network Image (Unable to interpret bytes as a valid image.)

I'm trying to get my google map markers to generate icons from firebase storage, I've tried a few things with BitmapDescriptor and Uint8list but fail to understand what is needed to make this work. What is needed to make the markers icons from…
1
vote
2 answers

onTap not working on Polygons / Google Maps Flutter

I'm using google_maps_flutter(https://pub.dev/packages/google_maps_flutter) package. Widget structure is Scaffold > Stack > GoogleMap The problem is that Markers' onTap events works fine but Polygons' onTap events don't fire at all. Why is this?
Whezer
  • 101
  • 1
  • 7
1
vote
0 answers

Flutter : google maps Custom marker not changing background

I am using google_maps_flutter: ^2.0.6 package in my application. Here I'm using a provider to load the markers in to my application. Also I need to change the decoration image of the marker on tap. The problem is my ontap event is executing but the…
1
vote
1 answer

Looking up a deactivated widget's ancestor is unsafe when try use google map

The first time it's working then when I going back I get this error please help. I can't fix this issue. I try to use the map in my app. Can anyone help me? What about state management?Trying to integrate a map to a app I want to know why is this…
1
vote
0 answers

How to get callback on deselect marker from google maps in flutter?

i tried to get a callback on action like deselect Marker. but in properties the Marker, i found only onTap callback. how i can resolve this problem? my init of the marker for exaample Marker createMarkerFromPlace(Place place, void Function(String…
1
vote
0 answers

Retrying to show location | Google Maps Flutter

I use google maps in my Flutter app to show the current location of the user. In most cases this works without any problems. However, if the user has permanently denied the access location permission and this permission is granted by the user after…
heyho123
  • 119
  • 2
  • 9
1
vote
1 answer

How to set a text as Marker in Google Maps

Hey I am trying to display a text in the map. Therefore I use textpainter to 'draw' the given String and add it as marker. Now there is my problem: I know that the icon for the marker should be a BitmapDescriptor, but I dont know how to convert the…
Curious99
  • 378
  • 2
  • 12
1
vote
1 answer

Center markers and user location in google maps flutter

I have a map with two markers, which I have managed to center between. I'm not certain if this way is the correct, or most efficient way of centering the two markers, but it seems to be working just fine. My problem is that I also have…
1
vote
0 answers

Noisy Log in flutter Google Maps

I am using google_maps_flutter, log is too noisy with E/AccesibilityNodeInfo (17886) Rejecting attempt to make a view its own child Its hasn't caused any error yet, app is working fine I am just wondering why the message is being displayed…
1
vote
1 answer

Autocomplete search with flutter_google_places doesn't work?

I'm developing my first more complex project, similar to the Uber app idea. I follow the instructions in this question autocomplete with flutter But when i try to search for addresses, nothing appears I'm using GetX for state management Here's my…