Questions tagged [google-maps-flutter]
226 questions
1
vote
0 answers
Create a hole in a polygon in Google Maps in Flutter
I would like to make a hole in a polygon in flutter.
https://developers.google.com/maps/documentation/javascript/examples/polygon-hole
How can I reproduce the code in the above link in Flutter since the Polygon class doesn't take "paths" in its…

Tenesse
- 115
- 2
- 7
1
vote
1 answer
How to display map labels by default with Google Maps Flutter
I think my issue is the same as here:
Flutter show marker's infoWindowText by default in Google map widget
However, there is no answer, except for a link to another post which isn't quite what I want to do.
When my map opens in my app, it shows the…

Paul Grenyer
- 1,713
- 3
- 30
- 51
1
vote
1 answer
Scrolling issue with GoogleMap widget in BottomNaviationBar with PageView for persisting state
@override
Widget build(BuildContext context) {
return Scaffold(
body: PageView(
children: _children,
controller: pageController,
onPageChanged: onPageChanged,
),
bottomNavigationBar:…

Akash Deodhar
- 58
- 7
1
vote
0 answers
Flutter Google Maps cannot drag the map with nested navigator
i am stuck about 6 days until now about how to drag the google maps using stack and nested navigator, below is the screenshot and code using navigator :
Image Using Nested Navigator
@override
Widget build(BuildContext context) {
return…

Gus Hendra
- 11
- 2
1
vote
2 answers
Google Maps Flutter animateCamera throws error
I have successfully placed google maps on my flutter app but anytime the location update triggers I get an error on my console. The map still updates and everything works fine but I want to fully understand why I get this error and How to fix…

Limitless Claver
- 479
- 5
- 17
1
vote
0 answers
BitmapDescriptor.fromBytes not working on iOS, but working well on Android
I try to use BitmapDescriptor.fromBytes for google maps marker's icon. The usage is working well on Android, and shows the icon in the maps marker. Here is my code for the logic function :
void convertToImg({BuildContext context,List…

Akbar Raihan
- 11
- 1
1
vote
1 answer
Google map ground overlay flutter
I would like to display an image in overlay at given lat-log positions on Google map using Flutter. I am using flutter package google_maps_flutter: 0.5.32, at present the package does not provide to implement the feature .

Anoop
- 129
- 4
- 13
1
vote
0 answers
Is there any way to display "scale bar" on GoogleMap?
Is there any way to display "scale bar" on GoogleMap/FlutterApp?
I could not find any description about "scale bar" on API reference...

takinok
- 521
- 4
- 12
1
vote
1 answer
How to get google maps to work in flutter?
I have followed the steps on the package's dev page: https://pub.dev/packages/google_maps_flutter
but when I run it after inputing my api key all I get is a blank screen as seen here:
Screenshot
AndroidManifest.xml looks like this:

anon_0122
- 17
- 6
1
vote
2 answers
Flutter: Converting Future> to List type for use with Google_maps_flutter Package to output Markers
I am writing an app which pulls date for real estate Listings via an http request.
I use a future and package:http/http.dart to get a json array
Future
- > fetchJson() async {
final response = await…

Brett
- 11
- 4
1
vote
1 answer
Issue with getting current position of camera in google_maps_flutter
I'm a novice in Flutter, and I encountered an issue with google maps plugin. I watched a couple of tutorials in order to get the current position of the camera and Most of them was using GoogleMapController.cameraPosition.target. I think they…

Umid Targuliyev
- 33
- 3
1
vote
3 answers
Google Maps camera position updating issues in Flutter
I'm building an application with Flutter, based on a map. So I use the Google Maps package and all's working fine. But, I tried to add a FloatingActionButton to recenter the map on my location, and here, I got a problem. First, the map doesn't…

Vayhuit
- 316
- 5
- 12
1
vote
1 answer
How to get Google API key in Flutter Application
I've built a Flutter app using https://pub.dev/packages/google_maps_flutter for maps and I want to add directions as per https://medium.com/@shubham.narkhede8/flutter-google-map-with-direction-6a26ad875083, but I need to get the Google API key,…

Paul Grenyer
- 1,713
- 3
- 30
- 51
1
vote
2 answers
Get map center point on scrolling Google maps flutter
I'm doing an app in my app. I'm using google maps flutter and I'm having an issue regarding scrolling. When I scroll the map I want to get the center points (long, lat) of the map that is if I scroll the map and stop at certain place it would grab…

Merym
- 731
- 7
- 18
1
vote
0 answers
Google_MAP_FLUTTER Plugin crashes/freezes?
GOOGLE_MAP_FLUTTER Plugin freezes my phone while using sample code in GitHub (Link is given below). The impact is so powerful that I have to forcefully switch off my phone by removing the phone battery to restart.
I am seeing • Platform android-29,…

vijay pareek
- 21
- 1
- 1