Is there a way that I can track the other device by their gps. I currently using a mapbox api for may adroid studio project. Source: Android Studio..
Category : google-maps
so I have bottomNavigationView that holds tabs and navigates to fragments using setOnNavigationItemSelectedListener() in one of the fragments I need to display google maps, but I’m getting this error: java.lang.NullPointerException: Attempt to invoke virtual method ‘void com.google.android.gms.maps.SupportMapFragment.getMapAsync (com.google.android.gms.maps.OnMapReadyCallback)’ on a null object reference even though I initialized SupportMapFragment right above the error line getMapAsync() like ..
I’m building an app that uses a Cordova plugin for Google Maps. I keep getting this error and have no clue how to fix it or what it even means. Any help would be appreciated. Here’s the error: * What went wrong: Execution failed for task ‘:app:generateDebugBuildConfig’. > Failed to calculate the value of task ..
I am looking to add functionality to a Google Maps activity of an android app that will allow a markers position to change over time. I have a list of LatLng points (and so list of distances between points) and a desired speed. My hope is that once enough time has passed for the marker ..
After initializing the google map in a fragment, I would like to dinamically show the coordinates value of the center of the map while moving it. Unfortunately, the coordinates are not updated but only the initial value is shown. Do you have any suggestion? class AddFragment : Fragment(), OnMapReadyCallback { private var mPositionLatitude: Double = ..
I’m using Google Maps in my application and I want to center and zoom on a specific country by name. I have already managed to center on it with this peace of code: val country = "Germany" val geocoder = Geocoder(context) if (addressList.size > 0) { val address = addressList[0] val location = LatLng(address.latitude, address.longitude) ..
I have method which start navigation on external app. Method working well with google maps and sygic. But users started to reporting they can open navigation even with Waze but no data is transported via intent (so they see only waze main screen). I found right uri to launch waze but then I’ll loose other ..
I’m currently trying to add an auto-complete search bar to my Google Maps app. I want to use it for zooming to the searched destination. That works so far with my current solution, but the auto-complete feature is still missing and I’d like to have a little ‘X’-Button in the search bar to clear the ..
I wanted to replicate this UI. When clicking on a marker it shows a view which I can slide horizontally to go to the next marker. Google maps screenshot Is there a simple way to achieve this? Maybe I need to implement a ViewPager2 with fragments in it on top of the MapFragment? Source: Android ..
The blue round icon of current location that appears on map fragment when we enable setMylocationEnabled(true) is required to be changed in my scenario. How can I achieve that by default a vehicle icon appear instead of blue icon. Thank you. Source: Android..
Recent Comments