Questions tagged [google-maps-flutter]
226 questions
0
votes
2 answers
How to make initialCameraPosition from my address in flutter google maps?
I tried to determine my address's camera position by using 'geolocator' library but I don't know how to set it into the google map's initial camera position
searchAndNavigate() {
searchAddress = widget.author.address;
…

Nikita Fedorov
- 15
- 4
0
votes
1 answer
Flutter google maps android build failed
I tried to add google maps to my flutter project
dependencies:
geolocator: ^2.1.0
google_maps_flutter:

Nikita Fedorov
- 15
- 4
0
votes
2 answers
How do I remove a Null exception on a themed map and is it worth it?
I have a map app that uses google_map_flutter package and displays a full screen themed map. My confusion is that when I build the app I receive an unhandled exception for setMapStyle, even though the map displays with the theme.
Unhandled…

Andrew Stevenson
- 578
- 1
- 9
- 23
0
votes
0 answers
How can you get the location for a specified place using google map flutter?
I was trying to access the LatLng for a chosen place that is not at my location. How can you do that in flutter with the google_maps_flutter plugin? and why is it restricted to Android lolipop and above.

Natay Fekade
- 1
- 1
0
votes
1 answer
Flutter: BitmapDescriptor.fromAsset deprecated
I'm new to Flutter and I have this code in my app that works perfect to populate a markers list with thousands of items having each of them one of 4 available icons stored locally as png files:
for (var bla in jData) {
LatLng…

Zyraj
- 13
- 1
- 3
0
votes
1 answer
Flutter: Pass new values to a Stateful widget and update the view onTap
I have implemented google_maps_fltuter and I need to update the route on the map with new coordinates whenever the user clicks on a different route anywhere within the bordered rectangle (see the picture below). When the view is rendered initially,…

selected
- 764
- 2
- 10
- 19
0
votes
1 answer
Flutter Conflict: geolocator: ^5.1.4+1 and google_maps_flutter: ^0.5.21+7 generate dependency conflict
Currently I'm doing a Flutter application witch uses:
geolocator: ^5.1.4+1
google_maps_flutter: ^0.5.21+7
When I declare both dependencies in "pubspec.yaml" it get a conflict
"FAILURE: Build failed with an exception.
What went wrong:
Execution…

Claudio Rivas
- 1
- 1
0
votes
1 answer
Change icon from flutter google maps Flutter
How can I change the icon of marker on google_maps_flutter?
Thanks!
0
votes
2 answers
How your add Polyline on googleMapFlutter when map is already build?
I have a problem with the adding Polyline to google_map_flutter.
I add the package at my project, instanciate a googlemap on class.
All is good, i see a google map on my device.
I add polyline in build googlemap and is good, i see polyline.
But how…

Silvere
- 1
- 2
0
votes
1 answer
Flutter : map dependencie crashes the app
I'm trying to use google map with flutter so i'm using the dependencie "google_maps_flutter"
version: "0.5.18"
The problem is when I add the line below (in my pubsec.yaml)-->
google_maps_flutter: ^0.5.16
dependecies img
the app crashes.
Below is…

ItsNotMyFault
- 110
- 1
- 8
0
votes
1 answer
Using Polyline for making custom route with google_maps_flutter plugin - Flutter
google_maps_flutter 0.5.6 Added support for Polylines on GoogleMap.
But there is no code or documentation available under my view.
A plugin named maps_view exists which supports polylines
import 'package:map_view/map_view.dart';
import…

TecHaxter
- 176
- 2
- 12
-1
votes
1 answer
Sending signal. PID: 22843 SIG: 9 Lost connection to device. i got this error when opening map in flutter
when im opening map using my current location the sigterm is exiting
android.enableDexingArtifactTransform=false
i've added permission in my project

salam
- 9
- 1
-1
votes
3 answers
How to get current latitude & longitude in google_maps_flutter?
How can I get the LatLng of user's current location when using google_maps_flutter plugin?
I wish there had been something like:
GoogleMap(
onLocationChanged: (latLng) {
// Something like this callback ...
}
)
PS: I don't wish to use any…

iDecode
- 22,623
- 19
- 99
- 186
-1
votes
1 answer
Style Google Maps in Flutter silver or black & white
I'm using Google Maps in a Flutter app. I'm looking for a way to style the map on a black and white edition. I've seen this done in web editions, but not sure if it's possible in the Flutter edition...yet.
Wonder if anyone else has achieved this and…

Rasmus Christensen
- 8,321
- 12
- 51
- 78
-2
votes
1 answer
How to moving map under marker and get position like UBER app in FLUTTER
Ineed get posistion from fixed marker in map and move map under marker