All Questions
Tagged with google-maps-android-api-2 android
4,280
questions
0
votes
0
answers
7
views
google map details are different on different devices
I have implemented google map in one of my application.before few days all was working fine, but i am finding a weird behavior in google map while tracking vehicle on map.The details of the map are ...
0
votes
1
answer
29
views
Android map doesn't auto zoom after calling CameraUpdateFactory.zoomTo(xx)
I have a fragment which displays the position of store on Google Map:
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx....
0
votes
0
answers
39
views
Is there any alternative for searching nearby places without using Google map Places API?
I am trying to search nearby places by types ( such as Hospital, Restaurant,..) from my current places, I used gg map API but I realised that I need to pay for this services, can anyone have another ...
0
votes
2
answers
87
views
Is there a way to change the position of the Google Maps API buttons in Compose?
I would like to move the map buttons, mainly the Compass button (which appears at the top left) and the My Location button (which appears at the top right) so that I can put them down or in any ...
0
votes
0
answers
38
views
Can I have two different Google Map keys to load google maps in two different activities in a single android app?
I have a android application in which I need to load google maps in two different activity.
How to use two different google map keys for each activity. Is it even possible?
Earlier I had only one API ...
2
votes
1
answer
204
views
Google maps API 18.2 - Can I get my shapes to be drawn in front of the buildings again?
When migrating from com.google.android.gms:play-services-maps:18.0.2 to com.google.android.gms:play-services-maps:18.2.0, my shapes suddenly started to appear
behind the buildings and road labels, ...
1
vote
0
answers
427
views
Google map crash android 14 Jetpack compose?
I just migrated my code to SDK 34 and Jeptpack compose version 1.5.4 and material3 v = 1.1.2 also com.google.gms:google-services:4.4.0 but I am getting crash when opening Google map which was working ...
0
votes
0
answers
55
views
Track my location only when I'm load this app / fragment at the second time
I'm facing an unusual issue in my Android application where the initial GPS location doesn't update properly when the app is loaded for the first time. Here's the relevant code snippet:
public class ...
0
votes
0
answers
36
views
How can I make only some markers clickable in Google map for Android?
I am developing an Android app with a google map, which contain various markers. Some of these markers should be clickable, and it works nicely, using the setOnMarkerClickListener method on the ...
0
votes
2
answers
1k
views
java.util.concurrent.ExecutionException: java.lang.SecurityException: GoogleCertificatesRslt: not allowed:?
I am developing taksi app when I run app I am getting following exception
Unable to update local snapshot for com.google.android.libraries.consentverifier#com.example.starttaksi, may result in stale ...
3
votes
1
answer
100
views
Polylines can't be remove on the map
I am working on an Android app that uses the Google Maps Android API, and I'm having trouble clearing polylines from the map. I have implemented the addition of polylines within a dialog, and I want ...
2
votes
2
answers
357
views
Google Map displays with empty location even with valid api key in flutter when app is launched and works properly when i do multiple hot reload
I am trying to embed native android view of google map in my flutter app. I know we already have google_map_plugin on pub.dev but to improve myself as a developer i am trying to integrate native ...
0
votes
1
answer
167
views
Render transit layer on Android Google Maps
What we have achieved so far is to be able to use MAP IDs on our Android project and configure Map Styles dynamically on our application.
Recently though we are attempting to showcase transits ...
1
vote
0
answers
53
views
Passed value mismatch error for SphericalUtil.computeDistanceBetween()
I am trying to calculate distance between two points using SphericalUtil.computeDistanceBetween. The value which I provided is from com.google.android.gms.maps.model.LatLng but the required type is ...
0
votes
1
answer
159
views
can't run android app with geospatial feature
I'm trying to run an AR core functionality app, the code base is from google code lab
Here's the project URL https://github.com/google-ar/codelab-geospatial
I have followed all the instructions ...