Skip to main content
-1 votes
1 answer
167 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
107 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
70 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
0 votes
0 answers
54 views

I have a list, and when user selects a element of the list, the detail is a Google map with some markers of that selected item. If I display it in portrait, everything works, but if I display it in ...
NullPointerException's user avatar
0 votes
0 answers
58 views

I have an android app where I use a google map where the buildings are 3d. I want it to switch to only 2d. It is possible in the Google Cloud Console but here there aren't many label settings which I ...
user29491153's user avatar
0 votes
0 answers
51 views

I'm displaying a custom composable with marker info and some buttons centered on the screen when the user clicks a marker on Google Maps. I'm not using MarkerInfoWindow because it doesn't let you to ...
NullPointerException's user avatar
1 vote
0 answers
43 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
137 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
93 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
0 votes
2 answers
103 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
  • 1
0 votes
0 answers
119 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
  • 333
-1 votes
1 answer
135 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
120 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
132 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
64 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,813

15 30 50 per page
1
2 3 4 5
308