Skip to main content
-1 votes
1 answer
261 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
142 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
96 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
166 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
131 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
159 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
151 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
134 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
888 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
230 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
61 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

15 30 50 per page
1
2 3 4 5
308