Skip to main content

All Questions

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 ...
Edgar's user avatar
  • 1
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....
Harry's user avatar
  • 264
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":&...
eggsloveoats's user avatar
0 votes
0 answers
412 views

I'm trying to use the googlemap activity from Android Studio , but the google map doesn't show map when run the app

However, I tried with my friend's macbook, which is the same model I have and tried so many times, and it works and shows the google map once typed in the API key. I tried same project with exactly ...
Peter's user avatar
  • 1
0 votes
1 answer
295 views

Missing permissions required by FusedLocationProviderClient.getLastLocation: android.permission.ACCESS_COARSE_LOCATION or ACCESS_FINE_LOCATION

I have been learning this map in kotlin but mMap.isMyLocationEnabled = true and fusedLocationClient.lastLocation.addOnSuccessListener { location ->} are throwing same error as user-permission for ...
Pragyanshree Das's user avatar
0 votes
0 answers
289 views

How to refresh the last location every second?

Pretty new in Kotlin and I am trying to setup a map marker that follows the user ever they go, which means the location need to be updated like every second. I have used FusedLocationProviderClient ...
Tommy -'s user avatar
  • 103
0 votes
1 answer
1k views

FusedLocationProviderClient and LocationCallback() object queries

To sum up the issue, I was implementing the google maps API to make a run tracker and was also implementing MVVM architecture at the same time. However, when I managed to configure my code to place ...
Isaac Chen's user avatar
1 vote
2 answers
121 views

remove integrated toolbar from googleMap fragment in Android Studio (Kotlin)

I'm trying to build a simple app with GoogleMap API and I have custom tool bar. The problem: I want to remove the default toolbar from the fragment. activity .xml: <LinearLayout xmlns:android="...
Guy Sadoun's user avatar
0 votes
1 answer
502 views

Google Maps not displaying markers in android kotlin

I'm trying to use the google maps api into an app as a school project, my problem is, the map is not displaying fully and correctly, only one part of the map is displayed, the part in Australia, I'm ...
ZahraCarthage CHOUCHENE's user avatar
2 votes
0 answers
2k views

Google Maps SDK keeps using legacy renderer (version<18.0.0)

The Google Maps SDK for Android is updating to a New Map Renderer in v18, which developers can try out early by explicitly opting in. The device I am testing on has these specs: Samsung Galaxy S7 ...
xjcl's user avatar
  • 14.4k
3 votes
1 answer
446 views

Android Google Maps moveCamera causes "IllegalStateException: Illegal height"

When I call moveCamera on a small screen, it throws the following exception: java.lang.IllegalStateException: Illegal height. This is my code: googleMap.moveCamera( CameraUpdateFactory....
Duncan Lukkenaer's user avatar
0 votes
0 answers
196 views

MapView in RecyclerView dispalys wrong map in certain scroll position

I use MapView inside my recyclerview items to display info about a city which the item is about, and I can't figure out how to fix binding issues. When current item is at the top of the viewport, the ...
Calamity's user avatar
  • 930
0 votes
2 answers
1k views

Is there a way to make a view drag handle

I am working on a project where I use GoogleMap (v2) and Recyclerview (and a bunch of other views). When the app is in portrait mode, (showing map on top, and a recyclerview below), I want it to be ...
Roar Grønmo's user avatar
  • 3,746
69 votes
10 answers
38k views

Is 'constructor LocationRequest()' deprecated in google maps v2?

I stumbled upon this message recently, and I was pretty sure that this constructor wasn't deprecated in prior versions to 18.0.0, but I cannot find information anywhere that this one has been ...
Roar Grønmo's user avatar
  • 3,746
2 votes
1 answer
1k views

Android Google Map listeners getting called continuously

I have integrated google map into my application. Listener methods onCameraIdle() and onCameraIdle() functions are getting called continuously how to stop that? Below is my fragment code: class ...
Vasuki's user avatar
  • 21

15 30 50 per page