All Questions
Tagged with google-maps-android-api-2 google-maps-markers
452
questions
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
165
views
show the current location on Google maps using Maps Api
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....
0
votes
0
answers
118
views
How can I fix 'Invalid key' error & retrieve JSON data of specific places from Maps API?
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: { "...
1
vote
1
answer
266
views
How to show a widget when the marker is clicked on in gmap flutter?
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 ...
0
votes
3
answers
2k
views
How to set a custom image as icon for gmap marker in flutter?
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 ...
1
vote
1
answer
98
views
Android GoogleMaps: GeoJsonLayer.features change the order of geojson file
I have a location geojson file as below:
{
"type":"FeatureCollection",
"features":[
{"type":"Feature","properties":{"name":&...
-1
votes
1
answer
88
views
my app is crashing when there is no internet and i want my markers or my map to refresh each second
i made a googlemap app where my markers are displyed.
the problem is when there no internet, the app is crashing. The code under onResume does not solve the problem.
also i want to refresh the map or ...
0
votes
0
answers
138
views
Do Maps SDK for Android needs a billing enabled api key?
I have a BILLING NOT ENABLED project. and have a api key with that... i'm using this api key in my android project to render maps with MapView. But it seems in the documentation, it is mentioned that ...
0
votes
2
answers
3k
views
Jetpack Compose: How to click on Maker in Google Maps?
I use official Google Maps Compose lib and I can't understand...how implement click on the marker?
@Composable
fun MapContent(city: City) {
val pos = LatLng(city.latitude, city.longitude)
val ...
0
votes
1
answer
38
views
I got problem with Marker using googlemap on android
got this message and i do not know how to solve it.
i'm getting data from a device (latitude, longitude, device_name, altitude).
when trying to get the device in real time moving i got this Log:
W/...
0
votes
1
answer
543
views
How to Optimize google maps api calls for mobile apps
How can we reduce Google Maps api calls??
in one of our app (similar like uber) we are using Google directions api to plot two points(source and destination) and dynamic path between them,
so we have ...
0
votes
1
answer
2k
views
Does Google Maps SDK for Android charge for markers and showing the user's location? (2022)
I'm developing an app that will show a few markers and the user's location on the map. Just those, no navigational data and etc. I'm having doubts on the pricing as the Google Maps billing page shows ...
0
votes
1
answer
328
views
How to add shape on top of polylines in Google Maps Android SDK
I have an app containing code to draw polylines between the source and destination points using the Google Maps Android SDK and the Polyline and PolylineOptions classes.
My question is that how can I ...
1
vote
1
answer
288
views
Google Maps Android No Cluster/DeCluster on Zoom In/Out
I have implemented Google Maps Clustering on the iOS version of my app and it works fine. I am now attempting to implement Clustering on the Android version using the android maps utility library and ...
2
votes
1
answer
317
views
How to smoothly animate current position with a custom LocationSource in Google Maps SDK?
I am using a custom LocationSource that provides updates every 300+ ms.
Below you can observe that the coordinates updates are making the blue dot (current position) move in quite a shaky way (I was ...