Questions tagged [google-maps-android-api-2]
Google Android Maps Api v2 is the next generation of Google Maps SDK available for Android developers.
google-maps-android-api-2
3,494
questions
0
votes
0
answers
8
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
42
views
Google map directions delay loading the itinerary
I'm using google map intent in my react native application has been almost one year without any problem passing the coordinates in this url allowing the user to open "Google maps" on ...
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
39
views
Jetpack Compose Clustering sometimes show default markers
I have a screen that contain a list of custom markers with clustering and works fine. The problem is sometime after open de screen my google maps show my customs markers AND the default markers on the ...
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 ...
0
votes
0
answers
133
views
Google Maps styling applies only above zoom level 13, below that roads turn black instead of styled color
I'm using Flutter with the Google Maps Flutter plugin to display a map in my application. I've applied custom styling to the map using the setMapStyle method to change the color of roads to a specific ...
1
vote
1
answer
136
views
Using google maps api key in open source GitHub repository in Flutter app
I am developing an open source Google Maps project by Flutter and I do not want the GMS API to appear in my repo when I integrate with Google Maps. I don't know how I can use the variable in the .env ...
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, ...
0
votes
0
answers
46
views
Android Google Maps V2 API center Longitude
I need a way of getting the center Longitude of the current Google Map screen.
I'm not dealing with any City scale but being able to scroll around
the Atlantic and Western Pacific areas of the globe ...
0
votes
2
answers
53
views
Cannot zoom in to current location in Android Studio
public class Game_Activity extends FragmentActivity implements OnMapReadyCallback {
private Location currentLocation;
private FusedLocationProviderClient fusedClient;
private static final ...
1
vote
2
answers
398
views
Map on Jetpack Compose: GoogleCertificatesRslt: not allowed
Im trying to implement Jetpack Compose Map on my project. In the emulator works fine but on physical devices doesn't.
This is NOT a API_KEY problem. I tried several times with different keys and doesn'...
1
vote
0
answers
428
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 ...
0
votes
0
answers
54
views
wrong react native map boundaries when the map is rotated
Summary
I'm using react-native-maps for the following issue.
I'm trying to get the visible map boundary using mapRef.current?.getMapBoundaries, it returns { northEast: LatLng, southWest: LatLng }, ...
0
votes
0
answers
26
views
Is there a way that can move a the camera to a point on the map view on Android?
As we know, val targetLocation = LatLng(latitude, longitude) val update = CameraUpdateFactory.newLatLng(targetLocation) map?.animateCamera(update)
will move the targetLocation to the center of the map ...
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 ...
0
votes
1
answer
585
views
REACT: Google Maps API key - Warning: NoApiKeys
I have created a project that should display Google Map, but I constantly get a maps displayed with watermark and a warning in a console: Google Maps JavaScript API warning: NoApiKeys https://...
1
vote
0
answers
139
views
Flutter -> glass effect over google maps?
I have a scaffold -> stack -> google maps, some buttons, and a BackdropFilter.
In a test page without google maps, the filter fuzzies out everything as expected.
However, when you have a ...
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
204
views
Flutter Google Map Initial Location null?
The intent is to have the page load and show in the Google Map the current location as per the GPS of the device.
What is wrong in the following code? It appears it doesn't want to await the location ...
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 ...
0
votes
0
answers
48
views
how to force the request to always bring the zip code when placing the street name
I'm going through a probelam using Google Maps JavaScript API, without looking for the street name it brings the city and state, but not always brings the zip code, I needed that whenever I searched ...
0
votes
1
answer
91
views
How to know whether I am at a straight road, a roundabout, or at a left or right turn, or a dead-end using Google Mapd SDK?
We are building a product for visually impaired people for which we need to know what kind of road our user is on. At any kind of turn, we need to be able to specify whether it's a left or right turn, ...
0
votes
0
answers
171
views
Added metadeta tag in AndroidManifest.xml in React native but still get error of "API key not found"
I am working in React native application where i want to include the google maps . I installed the package and added the metadata tag in AndroidManifest.xml the details and my api key but still get ...
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
160
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 ...