Google maps polyline issue
PolylinePoints polylinePoints = PolylinePoints(); PolylineResult result = await polylinePoints.getRouteBetweenCoordinates( GOOGLE_MAPS_API_KEY, PointLatLng(_pGooglePlex.latitude, _pGooglePlex.longitude), PointLatLng(_pApplePark.latitude, _pApplePark.longitude), travelMode: TravelMode.driving, ); when run it appears errors with the words, getRouteBetweenCoordinates, travelMode and GOOGLE_MAPS_API_KEY I’m sure I have coded correctly and attached the location package correctly and google api correctly. if someone can help with this, would be grateful flutter […]
Google maps polyline issue flutter
PolylinePoints polylinePoints = PolylinePoints(); PolylineResult result = await polylinePoints.getRouteBetweenCoordinates( GOOGLE_MAPS_API_KEY, PointLatLng(_pGooglePlex.latitude, _pGooglePlex.longitude), PointLatLng(_pApplePark.latitude, _pApplePark.longitude), travelMode: TravelMode.driving, ); when run it appears errors with the words, getRouteBetweenCoordinates, travelMode and GOOGLE_MAPS_API_KEY I’m sure I have coded correctly and attached the location package correctly and google api correctly. if someone can help with this, would be grateful flutter […]
The method ‘LatLng’ isn’t defined/ The method ‘LatLngBounds’ isn’t defined
I developed a pretty good working app (where I had database and google map). Today, I noticed that I was getting some errors especially in Map (Error when passing latitude and longitude to Latlng)- I haven’t done any change.
Can it be related to email about Maps “Apps built with the Maps SDK for Android will be automatically updated to the latest renderer starting March 4, 2024.”
I renewed the API key from the Google console, cleared the flutter caches and reinstalled it all, but it doesn’t work.
Google Maps loading with custom styling and user location not working properly in Flutter app only on Pixel 7 and later
“Why does my Flutter app display Google Maps with incorrect styling and fail to load the user’s position despite requesting permissions, but only when launched on Pixel 7 and later devices, not on earlier versions?”