someone have the same proble than me? i cant make the condition : "_destination != null" it says that MArker cant be nulleable and always will be true. help please! nice tutorial
Hey I have tried the same code from the video but the Polylines don't work I don't know why I've also tried taking the code from your repo also switched my api key with yours but still the poly lines don't show up I can't understand why can you please help me?
Hello, Can you help me? is giving this error. Because MAPGO depends on google_maps_flutter >=2.0.0-nullsafety which requires SDK version >=2.12.0-0 =2.0.0-nullsafety which requires SDK version >=2.12.0-0
This package doesn't use the google maps API it's using the google Android SDK and google IOS SDK. The reason I'm calling out this difference is because maps api is unlimited, android sdk and ios sdk have limits to how many requests (currently $200 worth per month at the time I'm writing this) that you can have on your key.
Nice video, learnt a lot from your channel. Can you please make a tutorial on how to write and read video files with firebase, since there not enough tutorials online to learn to handle videos? And videos are an essential feature of most apps.
I am having issues because GoogleMapController and Marker objects cannot be null. I was able to get around this issue for the GoogleMapController by adding the late tag in front of the declaration, but I cannot find a workaround for checking if the Markers are null. I get a warning that says they cannot be null so the comparison is always true when checking if != null. Anyone know a fix?
I fixed this by initializing the Markers to have position = LatLng(0.0,0.0) which is very far outside of the intended use area of the app I am building, and compare Marker.position to LatLng(0.0,0.0) instead of checking if Marker == null
Yes I got the same error. this is flutter null safety error. Try using // @dart=2.9 at the start of your main.dart file. it will solve null safety error.
bro its really good video but i have some problems in my code, whenever i try to initialize MARKER it give me an error because of null safety, but it is not giving this error to you.
Yes I got the same error. this is flutter null safety error. Try using // @dart=2.9 at the start of your main.dart file. it will solve null safety error.
Any one here to help me please? There is a issue like below..Please help... The method 'animateCamera' was called on null. Receiver: null Tried calling: animateCamera(Instance of 'CameraUpdate')
"(projectname) wont run without google play services , which are not supported by your device", i enabled the maps sdk for android api though, any help?
Thanks you for the vid, can you give me a hand? How i can show places based on a database nearby to your location? I mean i press center location and show me nearby places based on ratio example:50km and display store iof clients i have on a db? For Any guide or light thanks you so mucj
Working on this on Flutter Web, can’t get to show the Polylines on web, is working in iOS and Android but not web. Gets the info correctly but doesn’t show Polylines
hello i have this error A value of type 'Null' can't be assigned to a variable of type 'Marker'. Try changing the type of the variable, or casting the right-hand type to 'Marker' you helpme please
Hi, thanks for this great tutorial. Is it possible to place the map in, for example, a container that uses just 1/3 of the screen? That way I could use the rest of the screen to place some other information :)
Facing same problem. I suggest use MapBox direction api, to draw a route we need the set of points to draw route, MapBox give us for free, also give duration and distance. Google maps direction api JSON returned is different from MapBox direction api but they have commun things.
@@AnkitMishra-th6gb Hello are refering to directions api bc theres no route api in cloud console. Please can assist me im also not to draw the polyline eventhough i get and decode the polyline string. Also i have a billing account and directions api enabled
my app only shows the total distance, duration, and polyline on the initial build. When I set a new origin and destination, it can't set the destination, which the DirectionsRepository.getDirection ==> reponse.statuscode failed. It only works when I wipe data or rebuild the virtual device again. It may be a memory leak. Wonder you might have the solution to this problem. Overall, I highly appreciate your work and thanks for providing such quality work.
thanks for this great tutorial however it is a shame that we still can not use widgets, the integral part of Flutter, as markers and we are limited to some rasterized images as markers. I will not use Google Maps until they support this. I don't want my app's map to look like it is from 2012:/
Hi, Marcus. Thanks for the video really amazing. my problem is that, the google map is showing in the body and I am getting this: E/BufferQueueProducer(14950): [SurfaceTexture-0-14950-0](id:3a6600000000,api:1,p:700,c:14950) dequeueBuffer: BufferQueue has been abandoned
Hello sir, Thanks you so for such a nice video. It was very helpful for me. I have one request. Could you please create a video on How to search Hotels restaurant coffee shops or any Point of interest along the route which we drawn on the map. Please if you create that video it will be very helpful for many people. There is not a single video available on RU-vid for request query. Thank you again.👍
hello nice video, i see that few seconds after 3:25 your google maps seems "buggy" i have the same issue with road getting "biggers" and "blurry", did you find and fix or is it normal while using an emulator maybe ?
Hi, Marcus. Thanks alot for having this video as its super helpful and useful!!! Do you mind to guide me how can i get the distance between 2 markers in double please? As per your video, im able to get “distance km” which is in string only… Your time and advice is highly appreciated… Have a great day ya
Does anyone know if there is a limit to the number of custom markers on a map. I seem to be able to only display 6. If there is, does anyone know a workaround.