Questions tagged [google-maps-flutter]

226 questions
1
vote
1 answer

Is there a Map Type selector available with google_maps_flutter Flutter?

With google_maps_flutter it is possible to display multiple map type (satellite / map ...) Is there any widget available to selection the map type ?
fvisticot
  • 7,936
  • 14
  • 49
  • 79
1
vote
1 answer

Flutter Is it possible to fade in and fade out markers for google_maps_flutter?

I think it would look nice if the markers faded in and out as they were presented. Is this possible with google_maps_flutter?
JVE999
  • 3,327
  • 10
  • 54
  • 89
1
vote
1 answer

Flutter: The getter 'Options' isn't defined for class 'Marker'

I know flutter has changed Google_Maps_api which is causing multiple errors in my code such as 1) 'Options' isn't defined for class 'Marker' 2) Too Many Positional Arguments : 0 expected 2 found 3) 'addMarker' isn't defined for class…
1
vote
1 answer

How to show multiple users on google flutter maps

This is just a general question to get an idea. I am using Flutter with the google maps flutter plugin on an iOS device with the geolocator plugin and it works just fine. It shows my location in realtime with a nice blue circular dot and the markers…
K.chim
  • 868
  • 2
  • 14
  • 25
1
vote
1 answer

Trying to create a custom marker with an icon image from the asset file using MarkerGenerator in flutter

I am trying to create a custom marker using asset image/ network image. I take that image and create a widget to do necessary styling and then I try to call MarkerGenerator which return a List MarkerGenerator. But I get the Uint8List…
Sid
  • 165
  • 1
  • 1
  • 8
1
vote
1 answer

Flutter Hero animation from Map Markers to Detail page

I would like to make a Hero animation between a marker displayed on the map and a detail page. The problem is the marker is not a Widget and can not be wrapped by a Hero object. Is there a workaround / solution ?
fvisticot
  • 7,936
  • 14
  • 49
  • 79
1
vote
1 answer

White blinking when updating map style on iOS

A Google map is displayed on the screen and the map style is updated with a dark theme when the map is created (onMapCreated) The issue is a white blink when the style is changed and it is very visible due to the black theme transition. (Cf.…
fvisticot
  • 7,936
  • 14
  • 49
  • 79
1
vote
1 answer

Redirect to google maps app with directions between source and destination with some stops in flutter

I want to redirect to google maps app for navigation with some stops between source and destination from my flutter application. url_launcher package redirects to map with source and destination but I want with some stops. Is that possible?
Code Runner
  • 868
  • 16
  • 27
1
vote
0 answers

GoogleMapsFlutter: How to display places stored in Firebase on Google maps in Flutter?

There are many places in my Firebase db an I want to fetch them all and show them on a map. I have been able to show one place, but to display all of the places I need to get the places' geopoints first and show them one by one on the map. When…
Peter
  • 121
  • 1
  • 9
1
vote
0 answers

How can I include native code in Flutter to display a KML Layer on Google Map?

I've been looking into running native code in my Flutter app to display a KML Layer on my Google Map and while I do have the app running native code (at least on Android), I am having difficulty with getting the KML stuff to work. I have created a…
1
vote
1 answer

How to display Widget Icon over Google Map Flutter?

In my application there is a google map. I used google_maps_flutter for it. I want to add notification icon on right corner. I tried with Stack but Google Map overlay the icon. This is what I want This is I achived after comment google map code This…
Gursewak Singh
  • 1,576
  • 1
  • 16
  • 32
1
vote
2 answers

Flutter - Enabling Location and Animate Camera to current location

My aim is written above in the title. When I tried using my app with already location-enabled, The given function worked perfectly fine. But when I tried with location-disable, It asked me to turn on location, so I turned it on but the function did…
TecHaxter
  • 176
  • 2
  • 12
1
vote
1 answer

In Flutter is there a way to toggle the visibility of the markers on google maps?

Markers properties are set to final so can not be alters. There is no setter method to change their values without trying to recreate all markers again. I have trie the following: markers.update(_markerId, (Marker m) { print(m.markerId); …
Fazza
  • 11
  • 3
1
vote
1 answer

How to draw routes between source and destination using Google Map in Flutter?

I recently started working on Flutter and started to build an app but now I was hoping to integrate google maps. I started to look more into google_maps_flutter and started to build the map but one thing I'm currently being unable to integrate is to…
0
votes
0 answers

Getting gps coordinates when mouse is moved

I need to get the GPS coordinates of the mouse pointer and keep this info updated with mouse move. Using the MouseRegion widget I can get the coordinates in pixels (even if there is a padding I cannot get rid of). But then how can I translate pixel…
Mauro Gentile
  • 1,463
  • 6
  • 26
  • 37