All Questions
Tagged with android-studio google-maps
781
questions
0
votes
0
answers
37
views
Fetching Specific Data from google Map to my Flutter Mobile APP
I have this project in class , I have to retrieve specific data from the Google Map . the thing I want is to get Pharmacies Near me , I want the steps to do that , because I tried ChatGPT and nothing ...
0
votes
2
answers
71
views
Flutter App shows this message when launching it on a browser
enter image description here
I am trying to use google map API to show pharmacies Near me and all that in a flutter app , I configured everything and got the API Key .... I also managed to ask for GPS ...
1
vote
1
answer
52
views
Circle is not being applied on map marker icon
This is the code I wrote
val lco = LatLng(location.latitude, location.longitude)
val markerOptions = MarkerOptions()
myGoogleMap!!.moveCamera(CameraUpdateFactory.newLatLngZoom(lco,...
0
votes
0
answers
56
views
Google APIs not working, Google Maps not displaying in Android app, and Authentication Failure with Google Sign-In, Only When Converting to APK
Hello Stack Overflow community,
I am encountering an issue with my Android app where the Google APIs are not working as expected, and Google Maps is not displaying properly. I have already tried to ...
0
votes
0
answers
63
views
Getting error in Android Studio while using google maps api
Authorization failure. Please see https://developers.google.com/maps/documentation/android-api/start for how to correctly set up the map.
2023-12-26 16:27:25.370 15274-15367 Google Maps Android API ...
0
votes
0
answers
32
views
Trying to use Polyline to draw a trail line and it was working but after adding more changes it's not drawing anymore. what can cause it?
This is my code and it's a bit long so i put it in pastebin.com: https://pastebin.com/CnqxxemT
The marker is showing fine and also moving along with the device.
The only thing that is not working is ...
0
votes
1
answer
37
views
How to draw a trail line of all locations depending gps when moving around keeping the points array of locations not too big to keep performance?
I want to draw a trail line when moving with my phone device similar to how it does in Samsung health application when walking/running/hiking.
In my application I store each new location to array and ...
0
votes
1
answer
461
views
When trying to request for location using LocationRequest.Builder getting error on the Builder. how to fix?
None of the following functions can be called with the arguments supplied:public constructor Builder(locationRequest: LocationRequest) defined in android.location.LocationRequest.Builder public ...
-2
votes
1
answer
70
views
Type mismatch: LatLang Android Studio, kotlin development
So i have this class LocationService where i define all the location related function but i'm encountering errors i can't get past by.
The errors are the following:
Type mismatch: inferred type is com....
0
votes
1
answer
99
views
Google maps does not get the user location if the user does not have a recent location
I have encountered a problem when getting the users current location if the user does not have any recent location the map cannot find the current location but if I allow other apps on location then ...
0
votes
1
answer
103
views
Add two markers at relative position to each other on Google map
I have a vehicle marker and a remaining distance marker, which need to be displayed on Google Maps. I want to update these two markers as the vehicle location updates.
I am adding the remaining ...
0
votes
0
answers
40
views
Android studio google maps implantation error
Hello I've been trying to get my android studio project to work but I keep running into error. This time the app is crashing on the emulator. I've added code for my main_activity.xml, mainactivity....
1
vote
0
answers
635
views
I always get the default coordinates from "react-native-geolocation-service" library
I can't get the 'react-native-geolocation-service' library to work properly.
My problem is that from my position I always get the same coordinates:
Latitude: 37.4226711
Longitude: -122.0849872
Which ...
0
votes
0
answers
219
views
Finding nearest hospitals in Android Studio using Google maps
I have a bloodbank app in which im trying to add a section where the user can see the nearest hospitals to their location over a specified proximity distance. When the activity opens, it's just ...
1
vote
2
answers
420
views
google_maps_api.xml not created in android studio
I am trying to create a google map activity in android studio, but the file google_maps_api.xml was not created in the res/values folder (see screenshot). Am I missing something or can I just create ...