Skip to main content
Filter by
Sorted by
Tagged with
-1 votes
1 answer
255 views

I applyed night style to maps with a night json described here. I did it with this code: GoogleMap( properties = MapProperties(mapStyleOptions = if (isSystemInDarkTheme()) ...
NullPointerException's user avatar
0 votes
1 answer
137 views

I'm building an Android app where I need to detect when a user enters or exits an expressway. I’m using the Google Maps API to track a user’s location in real-time. How can I identify if the user is ...
Isharas's user avatar
1 vote
0 answers
94 views

I need to add an arrow each 15 steps of the polyline. This code paints the full polyline without arrows, and it works very smooth and fast, but without arrows: if (mapState.lineSteps.isNotEmpty()) { ...
NullPointerException's user avatar
1 vote
0 answers
50 views

I'm trying to update the InfoWindowMarker content of my Google map in Compose, for that, I added a onClick to the InfoWindowMarker and when it's clicked, it changes a "favorite" variable ...
NullPointerException's user avatar
0 votes
1 answer
165 views

Google explains how to add markers, they recommend to add them using AdvancedMarker now: https://github.com/googlemaps/android-maps-compose?tab=readme-ov-file#drawing-on-a-map GoogleMap( ...
NullPointerException's user avatar
0 votes
2 answers
104 views

How can a CircularProgressIndicator composable be displayed until every AdvancedMarker has been added to Maps? There are a lot of markers, and a frozen screen is noticed until all markers are added I'...
NullPointerException's user avatar
1 vote
2 answers
130 views

I have a problem, for some tests I'm doing I need to take a screenshot of my app that uses Google Maps. When I try to take the screenshot or snapshot, all the elements appear in the screenshot, except ...
rmor23's user avatar
  • 37
0 votes
0 answers
157 views

I get the data async from the backend so there is not really a way to load it from memory. I created the map like this @Composable private fun HoaxLocatorScreen( cameraPosition: ...
No_Name's user avatar
  • 323
-1 votes
1 answer
150 views

I am trying develop an Android App with Kotlin in Android Studio. I want to make markers for Pharmacy in my app in Google Maps. My question is in my code: private fun searchNearbyPharmacies(location: ...
GM42's user avatar
  • 1
1 vote
0 answers
131 views

Using this example activity: https://github.com/googlemaps/android-maps-compose/blob/main/app/src/main/java/com/google/maps/android/compose/markerexamples/MarkerClusteringActivity.kt I want to only ...
Mario Huizinga's user avatar
0 votes
1 answer
148 views

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 ...
Ruchaw's user avatar
  • 1
0 votes
1 answer
73 views

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....
anta40's user avatar
  • 6,845
4 votes
2 answers
881 views

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 ...
Ulises Cortés's user avatar
1 vote
2 answers
228 views

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 ...
Aris Guimerá's user avatar
0 votes
0 answers
60 views

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 ...
dev's user avatar
  • 1
1 vote
0 answers
424 views

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 ...
Bahadur Khan's user avatar
1 vote
1 answer
275 views

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 ...
senabdulgani's user avatar
4 votes
1 answer
507 views

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, ...
Henrik Berg's user avatar
0 votes
0 answers
61 views

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 ...
user1572522's user avatar
0 votes
2 answers
78 views

public class Game_Activity extends FragmentActivity implements OnMapReadyCallback { private Location currentLocation; private FusedLocationProviderClient fusedClient; private static final ...
Jonathan Kalush's user avatar
1 vote
2 answers
722 views

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'...
Aris Guimerá's user avatar
1 vote
0 answers
681 views

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 ...
Jeevan Rupacha's user avatar
0 votes
0 answers
49 views

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 ...
Henrik Berg's user avatar
0 votes
2 answers
2k views

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 ...
Edgar's user avatar
  • 1,080
3 votes
1 answer
145 views

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 ...
Chichi's user avatar
  • 61
0 votes
1 answer
1k views

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://...
Orwellian's user avatar
1 vote
0 answers
245 views

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 ...
Das Boomer's user avatar
2 votes
2 answers
458 views

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 ...
Chup bae's user avatar
  • 101
0 votes
1 answer
367 views

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 ...
Das Boomer's user avatar
0 votes
1 answer
289 views

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 ...
Naman's user avatar
  • 32.9k
0 votes
1 answer
175 views

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, ...
abhineet's user avatar
1 vote
0 answers
66 views

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 ...
Ajinkya's user avatar
  • 21
0 votes
1 answer
211 views

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 ...
Ahmed Gamal's user avatar
2 votes
3 answers
5k views

Earlier versions of Android Studio allowed the developer to create a project using the Google Maps Activity template as detailed on Google's Maps SDK for Android Quickstart. However, Android Studio ...
tronman's user avatar
  • 10.2k
0 votes
1 answer
193 views

We developed app for warehouse listing and management. We want to add business place marker / Warehouse to google map programmatically through api from our android application, so that any person can ...
Amardeep Kumar's user avatar
0 votes
0 answers
191 views

I have an Activity named as HomeActivity.kt where I have BottomNavBar. My HomeActivity.kt is as below. import android.os.Bundle import androidx.appcompat.app.AppCompatActivity import androidx.fragment....
Harry's user avatar
  • 294
0 votes
0 answers
783 views

Does anybody have any experience with these issues and/or know of the consent verifier library? I'm struggling to find literally any sort of documentation regarding it online and it's currently ...
dudewhoislearning's user avatar
0 votes
0 answers
226 views

I've been struggling w this project for weeks now. Specifically getting the API Keys to work, I'm not sure what I'm doing wrong. My code is as follows: package com.example.hopefullyfinalgeoguessr; ...
dudewhoislearning's user avatar
0 votes
0 answers
69 views

For a school project, my group decided to develop a mobile application involving a map in Flutter. However, I have an iPhone, so it is easier for me to write and test my code on my computer. However, ...
DoeCommaJohn's user avatar
1 vote
0 answers
231 views

I am creating an app, and it has a bottom navigation bar. One of the pages I am going to use for a map with the current location. The following shows my code so far for that page. Can this code be ...
FellSachi's user avatar
0 votes
0 answers
265 views

So I am trying to use the Places API for an android app. I've used the correct URL to query for the JSON results of places however when I run the app I receive this error in my logcat: data: { "...
Zahid Habib's user avatar
0 votes
1 answer
189 views

I am implementing an android app in java to determine if an object is in flight (in the example ,it's a phone hang on a drone ) . To proceed,i retrieve the altitude of the phone , then i retrieve the ...
Patrick Renaud's user avatar
1 vote
1 answer
309 views

I want to show a widget with the latlong info and a button when the marker is placed on the map.or clicked on marker. this is my code to handle the markers Future<void> addMarker( LatLng ...
SaFaL's user avatar
  • 141
0 votes
1 answer
688 views

I am working on a Flutter project where I have to add user details as well as location of their mosques so how can I implement in this form using google maps in Flutter? Which are resources should I ...
Adnan Hussain's user avatar
1 vote
3 answers
3k views

I wanted to add some markers in a gmap on flutter I made. I tried this code but it doesn't work. I have added link in pubspec and picture is in assets too. Future<void> addMarker( LatLng ...
SaFaL's user avatar
  • 141
0 votes
0 answers
75 views

I want to create an application that tracks childs location through firebase and implement geofence on that location. How do i initiate GeofenceClient with that location from firebase instead of my ...
Chaitanya Gorule's user avatar
1 vote
0 answers
86 views

I have custom renderer for clusters using on GoogleMap in my app. It has custom drawable background and even number textview is custom layout with my own font and size. It is working perfectly but ...
Martin's user avatar
  • 2,994
1 vote
0 answers
180 views

I enabled Google maps api, and I added the api to AndroidManifest.xml and AppDelegate.swift. And I added to AndroidManifest.xml <meta-data android:name="com.google.android.geo.API_KEY" ...
Iman Alabid's user avatar
0 votes
1 answer
284 views

I am using Google Maps API v2 for displaying the maps in android. Is it possible to place temperature labels under each city name like what shown in below image.
a.badawi's user avatar
1 vote
1 answer
446 views

Currently, I am working on a location-based project. In this project I've added a GeoJsonLayer as below: As can be seen in the image, the red marker is inside a box. Is there any way to check if the ...
Swapnil Lanjewar's user avatar

1
2 3 4 5
93